Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001477/0.001477, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.14 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.8687/0.8687, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.66 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1364, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02743/0.1638, allocations: 29.82 MB / 0.7054 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.1754, allocations: 8.156 MB / 0.7134 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.1765, allocations: 31.81 kB / 0.7134 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1778, allocations: 437 kB / 0.7139 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.1815, allocations: 1.429 MB / 0.7152 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.1843, allocations: 1.14 MB / 0.7164 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004021/0.1883, allocations: 3.556 MB / 0.7198 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.1902, allocations: 1.333 MB / 0.7211 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.193, allocations: 1.706 MB / 0.7228 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.196, allocations: 1.616 MB / 0.7244 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.1966, allocations: 124 kB / 0.7245 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.1988, allocations: 1.022 MB / 0.7255 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.1994, allocations: 398.7 kB / 0.7259 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.2007, allocations: 0.7544 MB / 0.7266 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.2035, allocations: 2.271 MB / 0.7288 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2035, allocations: 0 / 0.7288 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2035, allocations: 0 / 0.7288 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.534e-05/0.2036, allocations: 0 / 0.7288 GB, free: 4.371 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003159/0.2067, allocations: 1.671 MB / 0.7305 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2068, allocations: 8.031 kB / 0.7305 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.2071, allocations: 147.4 kB / 0.7306 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.2088, allocations: 0.9375 MB / 0.7315 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.2088, allocations: 81.31 kB / 0.7316 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.209, allocations: 116 kB / 0.7317 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.2101, allocations: 0.6396 MB / 0.7323 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2101, allocations: 3.938 kB / 0.7323 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.2102, allocations: 24 kB / 0.7324 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2102, allocations: 12 kB / 0.7324 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.2111, allocations: 464.8 kB / 0.7328 GB, free: 148 kB / 0.5606 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.004006/0.2151, allocations: 2.871 MB / 0.7356 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.2157, allocations: 310.4 kB / 0.7359 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.216, allocations: 145.3 kB / 0.7361 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.2163, allocations: 348.7 kB / 0.7364 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2163, allocations: 34.84 kB / 0.7364 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/0.2163, allocations: 0 / 0.7364 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001221/0.2175, allocations: 0.5327 MB / 0.7369 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2176, allocations: 55.41 kB / 0.737 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.2186, allocations: 0.9074 MB / 0.7379 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.2187, allocations: 65.64 kB / 0.7379 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.2191, allocations: 482.7 kB / 0.7384 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.2192, allocations: 110.4 kB / 0.7385 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/0.2196, allocations: 287 kB / 0.7388 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2197, allocations: 330.1 kB / 0.7391 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.2201, allocations: 193.4 kB / 0.7393 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.2213, allocations: 1.155 MB / 0.7404 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.2222, allocations: 459.4 kB / 0.7409 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2222, allocations: 0 / 0.7409 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001256/0.2234, allocations: 0.6655 MB / 0.7415 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2235, allocations: 6.812 kB / 0.7415 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2235, allocations: 4 kB / 0.7415 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2235, allocations: 4 kB / 0.7415 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.2248, allocations: 239.8 kB / 0.7417 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.2263, allocations: 2.957 MB / 0.7446 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/0.2295, allocations: 0.6989 MB / 0.7453 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.2295, allocations: 31.98 kB / 0.7453 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006456/0.2302, allocations: 365.3 kB / 0.7457 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001254/0.2315, allocations: 1.158 MB / 0.7468 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007668/0.2322, allocations: 456.8 kB / 0.7473 GB, free: 116 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.2323, allocations: 4 kB / 0.7473 GB, free: 112 kB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.3127/0.545, allocations: 0.6515 MB / 0.7479 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5451, allocations: 6.438 kB / 0.7479 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5451, allocations: 3.734 kB / 0.7479 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5451, allocations: 5.5 kB / 0.7479 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.5458, allocations: 158.7 kB / 0.7481 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5459, allocations: 8.844 kB / 0.7481 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/0.5506, allocations: 0.9596 MB / 0.749 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.5507, allocations: 27.59 kB / 0.749 GB, free: 69.55 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.551, allocations: 241.2 kB / 0.7493 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5512, allocations: 94 kB / 0.7494 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.5523, allocations: 0.5154 MB / 0.7499 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5523, allocations: 1.281 kB / 0.7499 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5523, allocations: 0 / 0.7499 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.5526, allocations: 218.6 kB / 0.7501 GB, free: 69.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5527, allocations: 7.938 kB / 0.7501 GB, free: 69.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.5532, allocations: 28.64 kB / 0.7501 GB, free: 69.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.5533, allocations: 26.05 kB / 0.7501 GB, free: 69.21 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001183/0.5545, allocations: 0.5424 MB / 0.7507 GB, free: 69.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00125/0.5557, allocations: 0.8282 MB / 0.7515 GB, free: 68.77 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003236/0.5561, allocations: 164.7 kB / 0.7516 GB, free: 68.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008016/0.5569, allocations: 0.6111 MB / 0.7522 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of Backend: time 2.51e-07/0.5569, allocations: 0 / 0.7522 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.5605, allocations: 1.048 MB / 0.7532 GB, free: 68.52 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003503/0.564, allocations: 2.229 MB / 0.7554 GB, free: 67.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.04418/0.6082, allocations: 27.13 MB / 0.7819 GB, free: 55.42 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)