Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 107.5 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8804/0.8804, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 60.19 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.173, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02323/0.1962, allocations: 15.55 MB / 0.6915 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007522/0.2038, allocations: 4.338 MB / 0.6957 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.2047, allocations: 19.88 kB / 0.6957 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.206, allocations: 258.4 kB / 0.696 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.208, allocations: 0.5945 MB / 0.6966 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.2106, allocations: 0.7188 MB / 0.6973 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.2128, allocations: 1.021 MB / 0.6983 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.2137, allocations: 339.7 kB / 0.6986 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2148, allocations: 426.3 kB / 0.699 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.2156, allocations: 322.6 kB / 0.6993 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.2157, allocations: 32 kB / 0.6993 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.2172, allocations: 0.6278 MB / 0.7 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2174, allocations: 103.5 kB / 0.7001 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.2178, allocations: 222.8 kB / 0.7003 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.2195, allocations: 0.7905 MB / 0.701 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2195, allocations: 0 / 0.701 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2196, allocations: 0 / 0.701 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.2196, allocations: 0 / 0.701 GB, free: 0.9219 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001678/0.2213, allocations: 0.833 MB / 0.7019 GB, free: 36 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2213, allocations: 8.031 kB / 0.7019 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.2215, allocations: 56.33 kB / 0.7019 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.2224, allocations: 437.3 kB / 0.7023 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2224, allocations: 20.44 kB / 0.7023 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.2225, allocations: 28 kB / 0.7024 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.223, allocations: 207.2 kB / 0.7026 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.223, allocations: 3.984 kB / 0.7026 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.223, allocations: 12 kB / 0.7026 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.223, allocations: 4 kB / 0.7026 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.2234, allocations: 173.6 kB / 0.7028 GB, free: 15.06 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2253, allocations: 0.9418 MB / 0.7037 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.2256, allocations: 130.5 kB / 0.7038 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2258, allocations: 72.81 kB / 0.7039 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.2261, allocations: 344.5 kB / 0.7042 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2261, allocations: 34.56 kB / 0.7042 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.2261, allocations: 0 / 0.7042 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006908/0.2268, allocations: 244.6 kB / 0.7045 GB, free: 13.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2269, allocations: 51.41 kB / 0.7045 GB, free: 13.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.2275, allocations: 481.9 kB / 0.705 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.2275, allocations: 33.7 kB / 0.705 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2277, allocations: 228.6 kB / 0.7052 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.2278, allocations: 51.3 kB / 0.7053 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2279, allocations: 53.7 kB / 0.7053 GB, free: 12.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.228, allocations: 358.7 kB / 0.7057 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2282, allocations: 72.81 kB / 0.7057 GB, free: 11.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2285, allocations: 148.7 kB / 0.7059 GB, free: 11.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.2289, allocations: 168.1 kB / 0.706 GB, free: 11.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2289, allocations: 0 / 0.706 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005447/0.2294, allocations: 255.8 kB / 0.7063 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2295, allocations: 8 kB / 0.7063 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2295, allocations: 4.094 kB / 0.7063 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2295, allocations: 3.984 kB / 0.7063 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2298, allocations: 47.91 kB / 0.7063 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2298, allocations: 7.984 kB / 0.7064 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.2301, allocations: 35.81 kB / 0.7064 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2302, allocations: 8 kB / 0.7064 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002958/0.2305, allocations: 192.1 kB / 0.7066 GB, free: 10.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002569/0.2307, allocations: 166.5 kB / 0.7067 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003381/0.2311, allocations: 176 kB / 0.7069 GB, free: 10.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.2311, allocations: 0 / 0.7069 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005248/0.2316, allocations: 245 kB / 0.7071 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2317, allocations: 8 kB / 0.7071 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2317, allocations: 3.984 kB / 0.7071 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.2317, allocations: 4 kB / 0.7072 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.2319, allocations: 39.92 kB / 0.7072 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2319, allocations: 7.984 kB / 0.7072 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.2322, allocations: 39.81 kB / 0.7072 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2323, allocations: 8.062 kB / 0.7072 GB, free: 10.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.2324, allocations: 205.1 kB / 0.7074 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.2325, allocations: 39.53 kB / 0.7075 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.2331, allocations: 249.1 kB / 0.7077 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.2331, allocations: 4 kB / 0.7077 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2331, allocations: 4 kB / 0.7077 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2331, allocations: 3.938 kB / 0.7077 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2342, allocations: 0.7044 MB / 0.7084 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2342, allocations: 3.984 kB / 0.7084 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2344, allocations: 28.11 kB / 0.7084 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2344, allocations: 4 kB / 0.7084 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2344, allocations: 4 kB / 0.7085 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2344, allocations: 7.938 kB / 0.7085 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2344, allocations: 3.938 kB / 0.7085 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.235, allocations: 347.7 kB / 0.7088 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.2351, allocations: 136.5 kB / 0.7089 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.2352, allocations: 4 kB / 0.7089 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2354, allocations: 19.91 kB / 0.7089 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2355, allocations: 15.98 kB / 0.709 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2355, allocations: 8 kB / 0.709 GB, free: 8.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003829/0.2359, allocations: 342.8 kB / 0.7093 GB, free: 7.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2359, allocations: 0 / 0.7093 GB, free: 7.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006967/0.2366, allocations: 199.7 kB / 0.7095 GB, free: 7.723 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/0.2378, allocations: 481.1 kB / 0.7099 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006982/0.2385, allocations: 271.8 kB / 0.7102 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2386, allocations: 4 kB / 0.7102 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2388, allocations: 79.89 kB / 0.7103 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2398, allocations: 206.2 kB / 0.7105 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2412, allocations: 0.734 MB / 0.7112 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2416, allocations: 0.823 MB / 0.712 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2417, allocations: 43.42 kB / 0.712 GB, free: 5.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.2418, allocations: 0 / 0.712 GB, free: 5.164 MB / 0.545 GB Notification: Performance of Templates: time 0.01337/0.2551, allocations: 7.465 MB / 0.7193 GB, free: 13.78 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)