Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.000954/0.000954, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.0009598/0.0009598, allocations: 165 kB / 23.8 MB, free: 0.7695 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.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 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.6284/0.6284, allocations: 114.9 MB / 375.7 MB, free: 7.652 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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.013e-05, allocations: 2.312 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.006951/0.006971, allocations: 8.48 MB / 490 MB, free: 6.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.01114, allocations: 3.244 MB / 493.2 MB, free: 4.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.01146, allocations: 30.72 kB / 493.3 MB, free: 4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.01189, allocations: 169 kB / 493.4 MB, free: 3.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007784/0.01267, allocations: 0.5238 MB / 493.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.01394, allocations: 0.8893 MB / 494.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.01513, allocations: 1.492 MB / 496.3 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.01556, allocations: 430.6 kB / 496.8 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.01623, allocations: 0.7171 MB / 497.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.01666, allocations: 454.3 kB / 497.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.01674, allocations: 56.44 kB / 498 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.01729, allocations: 468.7 kB / 498.4 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.01741, allocations: 168.4 kB / 498.6 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.01762, allocations: 261.9 kB / 498.8 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.0184, allocations: 0.8209 MB / 499.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01841, allocations: 0.625 kB / 499.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01841, allocations: 0.8438 kB / 499.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.01842, allocations: 0 / 499.7 MB, free: 1.078 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001186/0.0196, allocations: 1.124 MB / 0.4891 GB, free: 280 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.01964, allocations: 9.875 kB / 0.4891 GB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.02066, allocations: 289.9 kB / 0.4893 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.02126, allocations: 491.8 kB / 0.4898 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.0213, allocations: 43.97 kB / 0.4899 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.02136, allocations: 48.25 kB / 0.4899 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.02228, allocations: 0.769 MB / 0.4906 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.02229, allocations: 6.969 kB / 0.4907 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.02234, allocations: 21.62 kB / 0.4907 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.02235, allocations: 12.66 kB / 0.4907 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.02308, allocations: 0.5539 MB / 0.4912 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.02657, allocations: 4.19 MB / 0.4953 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.02711, allocations: 321.5 kB / 0.4956 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.02743, allocations: 232.7 kB / 0.4958 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.02754, allocations: 33.17 kB / 0.4959 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02757, allocations: 40.17 kB / 0.4959 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 1.613e-06/0.02757, allocations: 0 / 0.4959 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=38): time 0.002916/0.03049, allocations: 1.081 MB / 0.497 GB, free: 11.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.03052, allocations: 56.06 kB / 0.497 GB, free: 11.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.03097, allocations: 0.5488 MB / 0.4976 GB, free: 10.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.03101, allocations: 34.27 kB / 0.4976 GB, free: 10.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.0312, allocations: 388.9 kB / 0.498 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.03129, allocations: 132.7 kB / 0.4981 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.03145, allocations: 128.5 kB / 0.4982 GB, free: 9.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.0316, allocations: 0.5377 MB / 0.4987 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.0319, allocations: 225.9 kB / 0.499 GB, free: 9.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.03231, allocations: 0.4889 MB / 0.4994 GB, free: 8.695 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.03295, allocations: 0.6392 MB / 0.5001 GB, free: 8.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03295, allocations: 0 / 0.5001 GB, free: 8.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002473/0.03542, allocations: 1.089 MB / 0.5011 GB, free: 7.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.03544, allocations: 9.109 kB / 0.5011 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.03545, allocations: 4.625 kB / 0.5011 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.0371, allocations: 379.8 kB / 0.5015 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.03746, allocations: 129.4 kB / 0.5016 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004879/0.03794, allocations: 0.876 MB / 0.5025 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.03825, allocations: 78.22 kB / 0.5026 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.0383, allocations: 28.59 kB / 0.5026 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003702/0.03867, allocations: 350.9 kB / 0.5029 GB, free: 5.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000382/0.03905, allocations: 492.8 kB / 0.5034 GB, free: 4.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007919/0.03985, allocations: 0.6406 MB / 0.504 GB, free: 4.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.03985, allocations: 0 / 0.504 GB, free: 4.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0008455/0.04069, allocations: 0.7048 MB / 0.5047 GB, free: 3.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.0407, allocations: 8 kB / 0.5047 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.04071, allocations: 4.562 kB / 0.5047 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.04071, allocations: 8 kB / 0.5047 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.04112, allocations: 152.5 kB / 0.5049 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.04113, allocations: 8.688 kB / 0.5049 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.0414, allocations: 67.03 kB / 0.5049 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.04144, allocations: 36.42 kB / 0.505 GB, free: 3.258 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.04159, allocations: 303.3 kB / 0.5053 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.04169, allocations: 71.58 kB / 0.5053 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.04393, allocations: 0.9672 MB / 0.5063 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.04394, allocations: 4.609 kB / 0.5063 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.04394, allocations: 0 / 0.5063 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.04395, allocations: 2.531 kB / 0.5063 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.04709, allocations: 1.667 MB / 0.5079 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.04709, allocations: 0 / 0.5079 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.04733, allocations: 91.97 kB / 0.508 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.04874, allocations: 323.4 kB / 0.5083 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.04877, allocations: 15.92 kB / 0.5083 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007292/0.0495, allocations: 0.8975 MB / 0.5092 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.0495, allocations: 4 kB / 0.5092 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.05154, allocations: 1.043 MB / 0.5102 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.05173, allocations: 135.3 kB / 0.5103 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.05178, allocations: 12 kB / 0.5104 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.05201, allocations: 27.97 kB / 0.5104 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.05208, allocations: 35.89 kB / 0.5104 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.05211, allocations: 19.98 kB / 0.5104 GB, free: 13.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.05235, allocations: 350.8 kB / 0.5108 GB, free: 13.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05235, allocations: 0 / 0.5108 GB, free: 13.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.05309, allocations: 391.2 kB / 0.5111 GB, free: 13.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004106/0.0535, allocations: 214.8 kB / 0.5113 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.05463, allocations: 0.9084 MB / 0.5122 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.05463, allocations: 3.938 kB / 0.5122 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.05527, allocations: 327.7 kB / 0.5126 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.05591, allocations: 221.9 kB / 0.5128 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.05746, allocations: 1.11 MB / 0.5138 GB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.05755, allocations: 147.9 kB / 0.514 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004044/0.05795, allocations: 160 kB / 0.5141 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.05814, allocations: 68.47 kB / 0.5142 GB, free: 10.04 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05814, allocations: 0 / 0.5142 GB, free: 10.04 MB / 442.7 MB Notification: Performance of Templates: time 0.01612/0.07426, allocations: 15.36 MB / 0.5292 GB, free: 10.89 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0902179861441255]