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.001877/0.001877, allocations: 92.72 kB / 20.21 MB, free: 4.223 MB / 18.57 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.002471/0.002471, allocations: 157.7 kB / 23.52 MB, free: 0.9141 MB / 18.57 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.9547/0.9547, allocations: 115 MB / 375.3 MB, free: 7.57 MB / 346.7 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 2.224e-06/2.224e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.928e-05, allocations: 2.312 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1426/0.1426, allocations: 102.9 MB / 0.57 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.03664/0.1793, allocations: 18.81 MB / 0.5884 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006058/0.1853, allocations: 154.6 kB / 0.5885 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005331/0.1907, allocations: 1.292 MB / 0.5898 GB, free: 13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.2052, allocations: 4.056 MB / 0.5937 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.009649/0.2148, allocations: 3.211 MB / 0.5969 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.2288, allocations: 7.275 MB / 0.604 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005257/0.2341, allocations: 1.964 MB / 0.6059 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.2465, allocations: 4.084 MB / 0.6099 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.2508, allocations: 1.842 MB / 0.6117 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0009235/0.2517, allocations: 256 kB / 0.6119 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.2562, allocations: 1.45 MB / 0.6133 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2574, allocations: 0.7392 MB / 0.6141 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.2599, allocations: 1.005 MB / 0.615 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007488/0.2674, allocations: 4.498 MB / 0.6194 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2674, allocations: 0 / 0.6194 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2674, allocations: 0 / 0.6194 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.002e-05/0.2675, allocations: 0 / 0.6194 GB, free: 14.5 MB / 0.5417 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.006325/0.2738, allocations: 3.194 MB / 0.6226 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2739, allocations: 12.03 kB / 0.6226 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.275, allocations: 465.8 kB / 0.623 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.2795, allocations: 2.318 MB / 0.6253 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2796, allocations: 123 kB / 0.6254 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.2799, allocations: 172 kB / 0.6256 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.2835, allocations: 1.913 MB / 0.6274 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.2835, allocations: 7.938 kB / 0.6274 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.2837, allocations: 64 kB / 0.6275 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.2837, allocations: 43.94 kB / 0.6275 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.286, allocations: 1.143 MB / 0.6287 GB, free: 4.793 MB / 0.5417 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.01099/0.297, allocations: 5.575 MB / 0.6341 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2981, allocations: 455 kB / 0.6345 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.2986, allocations: 298.7 kB / 0.6348 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.299, allocations: 80.44 kB / 0.6349 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.299, allocations: 39.06 kB / 0.6349 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.299, allocations: 4 kB / 0.6349 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002388/0.3014, allocations: 0.9877 MB / 0.6359 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3015, allocations: 55.91 kB / 0.636 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.3046, allocations: 2.089 MB / 0.638 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.3047, allocations: 45.7 kB / 0.638 GB, free: 11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.3059, allocations: 1.177 MB / 0.6392 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.3062, allocations: 218.1 kB / 0.6394 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.3066, allocations: 254.8 kB / 0.6396 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3068, allocations: 349.9 kB / 0.64 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.3075, allocations: 357.9 kB / 0.6403 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.3097, allocations: 1.202 MB / 0.6415 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.3123, allocations: 0.9783 MB / 0.6424 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.3123, allocations: 4 kB / 0.6424 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004206/0.3165, allocations: 1.324 MB / 0.6437 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3165, allocations: 11.98 kB / 0.6437 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.3166, allocations: 16.09 kB / 0.6438 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/0.3166, allocations: 16 kB / 0.6438 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.3183, allocations: 255.6 kB / 0.644 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/0.3183, allocations: 12 kB / 0.644 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.3204, allocations: 139.1 kB / 0.6442 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.3206, allocations: 59.92 kB / 0.6442 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002343/0.3229, allocations: 0.768 MB / 0.645 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002156/0.3251, allocations: 1.183 MB / 0.6461 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002472/0.3276, allocations: 0.9572 MB / 0.6471 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/0.3276, allocations: 0 / 0.6471 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.2277/0.5552, allocations: 1.287 MB / 0.6483 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5553, allocations: 8.891 kB / 0.6483 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5553, allocations: 10.19 kB / 0.6483 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.5553, allocations: 14.28 kB / 0.6484 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.5564, allocations: 249.1 kB / 0.6486 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.5564, allocations: 20.59 kB / 0.6486 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.5584, allocations: 118.2 kB / 0.6487 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5586, allocations: 53.25 kB / 0.6488 GB, free: 167.7 MB / 0.5573 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.0003739/0.5589, allocations: 244.5 kB / 0.649 GB, free: 167.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/0.5595, allocations: 242.9 kB / 0.6492 GB, free: 167.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5615, allocations: 0.875 MB / 0.6501 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5615, allocations: 10.36 kB / 0.6501 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5615, allocations: 1.594 kB / 0.6501 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.5625, allocations: 0.687 MB / 0.6508 GB, free: 167.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.5663, allocations: 2.188 MB / 0.6529 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5663, allocations: 0 / 0.6529 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005036/0.5668, allocations: 130.7 kB / 0.653 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.5668, allocations: 2.875 kB / 0.653 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.5668, allocations: 20.39 kB / 0.6531 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5668, allocations: 4.062 kB / 0.6531 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5668, allocations: 0 / 0.6531 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5686, allocations: 1.328 MB / 0.6544 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.5693, allocations: 324.7 kB / 0.6547 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.5695, allocations: 13.75 kB / 0.6547 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/0.5703, allocations: 55.88 kB / 0.6547 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5704, allocations: 47.92 kB / 0.6548 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.5705, allocations: 32.84 kB / 0.6548 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001702/0.5722, allocations: 1.371 MB / 0.6561 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5722, allocations: 1.719 kB / 0.6562 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002782/0.575, allocations: 1.17 MB / 0.6573 GB, free: 165 MB / 0.5573 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.002348/0.5773, allocations: 0.7756 MB / 0.6581 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.5795, allocations: 1.288 MB / 0.6593 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5795, allocations: 1.547 kB / 0.6593 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.58, allocations: 305.8 kB / 0.6596 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.5849, allocations: 1.207 MB / 0.6608 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.5901, allocations: 3.668 MB / 0.6644 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.5909, allocations: 1.018 MB / 0.6654 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001777/0.5927, allocations: 464.1 kB / 0.6658 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.5931, allocations: 168.4 kB / 0.666 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.933e-06/0.5931, allocations: 0.5469 kB / 0.666 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0611/0.6542, allocations: 44.21 MB / 0.7091 GB, free: 133.6 MB / 0.5573 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.5941830050433055]