Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 84.72 kB / 19.94 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 163.2 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8982/0.8982, allocations: 114 MB / 373.9 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.178e-05, allocations: 8.422 kB / 0.5547 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1148/0.1149, allocations: 102.9 MB / 0.6551 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03011/0.145, allocations: 18.78 MB / 0.6735 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.1482, allocations: 154.6 kB / 0.6736 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.1519, allocations: 1.296 MB / 0.6749 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.1624, allocations: 4.044 MB / 0.6788 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009595/0.172, allocations: 3.248 MB / 0.682 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.1831, allocations: 7.258 MB / 0.6891 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.1866, allocations: 1.889 MB / 0.6909 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009413/0.1961, allocations: 4.055 MB / 0.6949 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.2, allocations: 1.842 MB / 0.6967 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005204/0.2005, allocations: 252 kB / 0.6969 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2939/0.4944, allocations: 1.446 MB / 0.6983 GB, free: 41.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009943/0.4954, allocations: 0.7326 MB / 0.6991 GB, free: 41.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.4974, allocations: 1.002 MB / 0.7 GB, free: 41.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006902/0.5043, allocations: 4.479 MB / 0.7044 GB, free: 41.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5043, allocations: 0.9062 kB / 0.7044 GB, free: 41.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5043, allocations: 0.625 kB / 0.7044 GB, free: 41.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.195e-05/0.5043, allocations: 2.75 kB / 0.7044 GB, free: 41.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00549/0.5098, allocations: 3.171 MB / 0.7075 GB, free: 40.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5099, allocations: 10.22 kB / 0.7075 GB, free: 40.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.5107, allocations: 335.4 kB / 0.7078 GB, free: 40.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.5145, allocations: 2.125 MB / 0.7099 GB, free: 39.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.5145, allocations: 125.2 kB / 0.71 GB, free: 39.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.5148, allocations: 172.1 kB / 0.7102 GB, free: 39.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.5174, allocations: 1.913 MB / 0.7121 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.5174, allocations: 7.703 kB / 0.7121 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5175, allocations: 60.38 kB / 0.7121 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.5176, allocations: 43.69 kB / 0.7122 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.5194, allocations: 1.144 MB / 0.7133 GB, free: 39.12 MB / 0.5919 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.008308/0.5277, allocations: 5.478 MB / 0.7186 GB, free: 37.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.5284, allocations: 446.9 kB / 0.7191 GB, free: 37.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.5288, allocations: 291.2 kB / 0.7193 GB, free: 37.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.5291, allocations: 81.56 kB / 0.7194 GB, free: 37.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.5291, allocations: 43.91 kB / 0.7195 GB, free: 37.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.5291, allocations: 0 / 0.7195 GB, free: 37.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001922/0.531, allocations: 0.9706 MB / 0.7204 GB, free: 37.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5311, allocations: 62.19 kB / 0.7205 GB, free: 37.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.5334, allocations: 2.068 MB / 0.7225 GB, free: 36.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5335, allocations: 45.58 kB / 0.7225 GB, free: 36.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007289/0.5342, allocations: 1.173 MB / 0.7237 GB, free: 36.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5344, allocations: 216.2 kB / 0.7239 GB, free: 36.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.5348, allocations: 251.4 kB / 0.7241 GB, free: 36.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.5348, allocations: 349.8 kB / 0.7245 GB, free: 35.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.5354, allocations: 358.9 kB / 0.7248 GB, free: 35.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.5363, allocations: 1.208 MB / 0.726 GB, free: 34.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.5375, allocations: 0.9796 MB / 0.7269 GB, free: 34.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5375, allocations: 2.875 kB / 0.7269 GB, free: 34.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002078/0.5396, allocations: 1.282 MB / 0.7282 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5396, allocations: 8.812 kB / 0.7282 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5396, allocations: 8.531 kB / 0.7282 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.5396, allocations: 14.16 kB / 0.7282 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.5405, allocations: 252 kB / 0.7285 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.5405, allocations: 20.19 kB / 0.7285 GB, free: 34.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.5419, allocations: 147 kB / 0.7286 GB, free: 34.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.542, allocations: 48.25 kB / 0.7287 GB, free: 34.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.5433, allocations: 0.7577 MB / 0.7294 GB, free: 34.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008278/0.5441, allocations: 1.193 MB / 0.7306 GB, free: 33.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.5453, allocations: 0.9571 MB / 0.7315 GB, free: 33.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.5453, allocations: 3.219 kB / 0.7315 GB, free: 33.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002012/0.5473, allocations: 1.231 MB / 0.7327 GB, free: 32.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5473, allocations: 13.38 kB / 0.7327 GB, free: 32.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5473, allocations: 10.75 kB / 0.7327 GB, free: 32.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5473, allocations: 14.22 kB / 0.7327 GB, free: 32.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.5482, allocations: 250.8 kB / 0.733 GB, free: 32.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.5482, allocations: 20.34 kB / 0.733 GB, free: 32.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5496, allocations: 123.2 kB / 0.7331 GB, free: 32.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.5497, allocations: 61.05 kB / 0.7332 GB, free: 32.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0002702/0.55, allocations: 250.6 kB / 0.7334 GB, free: 32.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5502, allocations: 214.7 kB / 0.7336 GB, free: 32.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.5518, allocations: 0.8828 MB / 0.7345 GB, free: 32.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.5518, allocations: 9.219 kB / 0.7345 GB, free: 32.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5518, allocations: 3.938 kB / 0.7345 GB, free: 32.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009036/0.5527, allocations: 0.6865 MB / 0.7352 GB, free: 32.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.556, allocations: 2.169 MB / 0.7373 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.556, allocations: 7.281 kB / 0.7373 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.5565, allocations: 127.2 kB / 0.7374 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5565, allocations: 6.594 kB / 0.7374 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.5566, allocations: 17.08 kB / 0.7374 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5566, allocations: 5.625 kB / 0.7374 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5566, allocations: 2.375 kB / 0.7374 GB, free: 31.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5583, allocations: 1.3 MB / 0.7387 GB, free: 31.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/0.5589, allocations: 313.9 kB / 0.739 GB, free: 31.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.5591, allocations: 19.53 kB / 0.739 GB, free: 31.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/0.56, allocations: 42.92 kB / 0.7391 GB, free: 31.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.5601, allocations: 47.5 kB / 0.7391 GB, free: 31.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.5601, allocations: 33.52 kB / 0.7392 GB, free: 31.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00159/0.5617, allocations: 1.361 MB / 0.7405 GB, free: 31.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5617, allocations: 2.969 kB / 0.7405 GB, free: 31.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002785/0.5645, allocations: 1.166 MB / 0.7416 GB, free: 31.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002016/0.5665, allocations: 0.7793 MB / 0.7424 GB, free: 31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.5686, allocations: 1.284 MB / 0.7436 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5686, allocations: 3.938 kB / 0.7436 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.5691, allocations: 312.4 kB / 0.7439 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/0.5736, allocations: 1.15 MB / 0.7451 GB, free: 30.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.578, allocations: 3.584 MB / 0.7486 GB, free: 29.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.5788, allocations: 1.021 MB / 0.7496 GB, free: 29.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001366/0.5801, allocations: 452.7 kB / 0.75 GB, free: 29.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.5805, allocations: 160.5 kB / 0.7501 GB, free: 29.04 MB / 0.5919 GB Notification: Performance of SimCode: time 5.92e-07/0.5805, allocations: 0 / 0.7501 GB, free: 29.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.05781/0.6383, allocations: 43.45 MB / 0.7926 GB, free: 9.629 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.030760549008846] Failed to read output from testmodel.py, exit status != 0: 0.6473959237337112 0.661329327 0.15364566400000002 Calling exit ...