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.0009636/0.0009636, allocations: 92.22 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.0009167/0.0009167, 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 0.9717/0.9717, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.5907/0.5907, allocations: 115 MB / 375.7 MB, free: 7.66 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.713e-06/1.713e-06, allocations: 0 / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.44e-05, allocations: 7.531 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.007189/0.007214, allocations: 8.482 MB / 490 MB, free: 6.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.01146, allocations: 3.236 MB / 493.2 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006678/0.01212, allocations: 33.62 kB / 493.3 MB, free: 3.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.01263, allocations: 164.7 kB / 493.4 MB, free: 3.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.01364, allocations: 0.5219 MB / 493.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.01537, allocations: 0.8909 MB / 494.8 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.01703, allocations: 1.488 MB / 496.3 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/0.01761, allocations: 431.2 kB / 496.7 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00091/0.01852, allocations: 0.7504 MB / 497.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.01912, allocations: 443.6 kB / 497.9 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.01924, allocations: 55.62 kB / 498 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.01999, allocations: 464.6 kB / 498.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.02012, allocations: 165 kB / 498.6 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.02038, allocations: 261.9 kB / 498.9 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.02142, allocations: 0.8106 MB / 499.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02142, allocations: 0.8125 kB / 499.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02142, allocations: 3.938 kB / 499.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.02144, allocations: 1.75 kB / 499.7 MB, free: 1.059 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.001452/0.0229, allocations: 1.11 MB / 0.489 GB, free: 268 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.02294, allocations: 11 kB / 0.4891 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.02413, allocations: 290.8 kB / 0.4893 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.02492, allocations: 477.8 kB / 0.4898 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.02496, allocations: 37.23 kB / 0.4898 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.02503, allocations: 58.58 kB / 0.4899 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.02607, allocations: 0.7762 MB / 0.4906 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.02608, allocations: 2.562 kB / 0.4906 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.02613, allocations: 25.78 kB / 0.4907 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.02615, allocations: 12.75 kB / 0.4907 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.02694, allocations: 0.5509 MB / 0.4912 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.03082, allocations: 4.194 MB / 0.4953 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.03133, allocations: 329.9 kB / 0.4956 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.03163, allocations: 233.9 kB / 0.4959 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.03177, allocations: 26.36 kB / 0.4959 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.03179, allocations: 36.23 kB / 0.4959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 3.917e-06/0.0318, allocations: 1.656 kB / 0.4959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=38): time 0.002968/0.03477, allocations: 1.088 MB / 0.497 GB, free: 11.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.0348, allocations: 59.41 kB / 0.497 GB, free: 11.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.03525, allocations: 0.5335 MB / 0.4976 GB, free: 10.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.0353, allocations: 37.7 kB / 0.4976 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.03549, allocations: 379.5 kB / 0.498 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.1e-05/0.03558, allocations: 139.1 kB / 0.4981 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.03574, allocations: 128.6 kB / 0.4982 GB, free: 9.965 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.0359, allocations: 0.5382 MB / 0.4987 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.03619, allocations: 224.5 kB / 0.4989 GB, free: 9.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.03659, allocations: 496.7 kB / 0.4994 GB, free: 8.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.03724, allocations: 0.6492 MB / 0.5001 GB, free: 7.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.03725, allocations: 0 / 0.5001 GB, free: 7.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002534/0.03978, allocations: 1.092 MB / 0.5011 GB, free: 7.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.0398, allocations: 4 kB / 0.5011 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.03981, allocations: 4.938 kB / 0.5011 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.04145, allocations: 377 kB / 0.5015 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.04184, allocations: 129.1 kB / 0.5016 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005141/0.04236, allocations: 0.8788 MB / 0.5025 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.04276, allocations: 73.8 kB / 0.5025 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.04282, allocations: 28.69 kB / 0.5026 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003995/0.04322, allocations: 356 kB / 0.5029 GB, free: 5.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004007/0.04362, allocations: 495.8 kB / 0.5034 GB, free: 4.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006376/0.04426, allocations: 0.6325 MB / 0.504 GB, free: 4.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.04426, allocations: 4 kB / 0.504 GB, free: 4.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.000878/0.04514, allocations: 0.6971 MB / 0.5047 GB, free: 3.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.04515, allocations: 8.703 kB / 0.5047 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.04515, allocations: 4 kB / 0.5047 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.04516, allocations: 8.562 kB / 0.5047 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.04558, allocations: 154.1 kB / 0.5048 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.04559, allocations: 13.34 kB / 0.5049 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.04592, allocations: 62.75 kB / 0.5049 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.04596, allocations: 40.3 kB / 0.505 GB, free: 3.227 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.0001838/0.04614, allocations: 296.7 kB / 0.5052 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.04625, allocations: 79.58 kB / 0.5053 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.0486, allocations: 0.9613 MB / 0.5063 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.04861, allocations: 4.656 kB / 0.5063 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.04862, allocations: 4.578 kB / 0.5063 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.04863, allocations: 10.14 kB / 0.5063 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.05192, allocations: 1.667 MB / 0.5079 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.05193, allocations: 4.75 kB / 0.5079 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.05218, allocations: 79.59 kB / 0.508 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.05363, allocations: 339.5 kB / 0.5083 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.05367, allocations: 11.98 kB / 0.5083 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008042/0.05447, allocations: 0.882 MB / 0.5092 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.05448, allocations: 0 / 0.5092 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.05662, allocations: 1.054 MB / 0.5102 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.05684, allocations: 131.4 kB / 0.5103 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.0569, allocations: 15.98 kB / 0.5104 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.05714, allocations: 27.98 kB / 0.5104 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.05721, allocations: 35.89 kB / 0.5104 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.05724, allocations: 19.98 kB / 0.5104 GB, free: 14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.05749, allocations: 354.7 kB / 0.5108 GB, free: 13.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05749, allocations: 0 / 0.5108 GB, free: 13.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008398/0.05833, allocations: 379.2 kB / 0.5111 GB, free: 13.28 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.0003633/0.05869, allocations: 222.6 kB / 0.5113 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.05993, allocations: 0.9015 MB / 0.5122 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.05994, allocations: 0 / 0.5122 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.06059, allocations: 334.9 kB / 0.5125 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.06128, allocations: 214 kB / 0.5127 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.06295, allocations: 1.114 MB / 0.5138 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.01e-05/0.06304, allocations: 143.9 kB / 0.514 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.06351, allocations: 168 kB / 0.5141 GB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.06371, allocations: 56.48 kB / 0.5142 GB, free: 10.07 MB / 442.7 MB Notification: Performance of SimCode: time 3.747e-06/0.06371, allocations: 0 / 0.5142 GB, free: 10.07 MB / 442.7 MB Notification: Performance of Templates: time 0.01879/0.0825, allocations: 16.31 MB / 0.5301 GB, free: 10.07 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: 3.8435161160305142]