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.001478/0.001478, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001096/0.001096, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.9669/0.9669, allocations: 177.2 MB / 204.6 MB, free: 5.621 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.6731/0.6731, allocations: 115 MB / 376 MB, free: 7.656 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.5469 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.631e-05, allocations: 2.312 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0127/0.01272, allocations: 20 MB / 0.4898 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005219/0.01793, allocations: 5.156 MB / 0.4948 GB, free: 11.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.0183, allocations: 26.78 kB / 0.4948 GB, free: 11.22 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.01889, allocations: 261.8 kB / 0.4951 GB, free: 11.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.02023, allocations: 0.8347 MB / 0.4959 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.0218, allocations: 0.9081 MB / 0.4968 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.02339, allocations: 1.507 MB / 0.4982 GB, free: 9.398 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.02399, allocations: 428 kB / 0.4987 GB, free: 9.133 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.02514, allocations: 0.8733 MB / 0.4995 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.02572, allocations: 452.9 kB / 0.4999 GB, free: 8.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.02581, allocations: 61.72 kB / 0.5 GB, free: 8.617 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008832/0.02669, allocations: 0.5414 MB / 0.5005 GB, free: 8.336 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.02684, allocations: 169.3 kB / 0.5007 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.02707, allocations: 253.3 kB / 0.5009 GB, free: 7.977 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.02831, allocations: 0.8792 MB / 0.5018 GB, free: 7.273 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.02831, allocations: 0 / 0.5018 GB, free: 7.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.02831, allocations: 0.9375 kB / 0.5018 GB, free: 7.273 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.02833, allocations: 0 / 0.5018 GB, free: 7.273 MB / 426.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.001511/0.02984, allocations: 1.126 MB / 0.5029 GB, free: 6.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.02989, allocations: 10.33 kB / 0.5029 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.03104, allocations: 293.6 kB / 0.5032 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.03176, allocations: 498.9 kB / 0.5037 GB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.0318, allocations: 37 kB / 0.5037 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.03187, allocations: 52 kB / 0.5037 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.0328, allocations: 0.7709 MB / 0.5045 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.03281, allocations: 7.938 kB / 0.5045 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.03286, allocations: 24 kB / 0.5045 GB, free: 4.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.03287, allocations: 12.66 kB / 0.5045 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.03356, allocations: 0.5576 MB / 0.5051 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.03716, allocations: 4.189 MB / 0.5092 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.03777, allocations: 320 kB / 0.5095 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.03804, allocations: 241 kB / 0.5097 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.03818, allocations: 39.97 kB / 0.5097 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.0382, allocations: 41.39 kB / 0.5098 GB, free: 15.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.03821, allocations: 0 / 0.5098 GB, free: 15.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.002808/0.04101, allocations: 1.085 MB / 0.5108 GB, free: 14.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.04104, allocations: 59.41 kB / 0.5109 GB, free: 14.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.04144, allocations: 0.5415 MB / 0.5114 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.04148, allocations: 33.7 kB / 0.5115 GB, free: 13.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.04166, allocations: 379.6 kB / 0.5118 GB, free: 13.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.04174, allocations: 142.8 kB / 0.512 GB, free: 13.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.04189, allocations: 123.9 kB / 0.5121 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.04203, allocations: 0.543 MB / 0.5126 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.04231, allocations: 226.2 kB / 0.5128 GB, free: 12.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.0427, allocations: 497.8 kB / 0.5133 GB, free: 11.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.04334, allocations: 0.6381 MB / 0.5139 GB, free: 11.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.04335, allocations: 4 kB / 0.5139 GB, free: 11.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002382/0.04573, allocations: 1.082 MB / 0.515 GB, free: 9.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.04575, allocations: 14.64 kB / 0.515 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.04575, allocations: 4 kB / 0.515 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.04733, allocations: 376 kB / 0.5154 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.04769, allocations: 131.8 kB / 0.5155 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006211/0.04831, allocations: 0.8702 MB / 0.5163 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.04861, allocations: 79.62 kB / 0.5164 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.04866, allocations: 35.92 kB / 0.5164 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003565/0.04902, allocations: 348.1 kB / 0.5168 GB, free: 8.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003906/0.04941, allocations: 493.8 kB / 0.5172 GB, free: 7.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006228/0.05003, allocations: 0.6379 MB / 0.5179 GB, free: 6.816 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.05003, allocations: 0 / 0.5179 GB, free: 6.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0008136/0.05085, allocations: 0.7076 MB / 0.5186 GB, free: 6.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.05086, allocations: 4.562 kB / 0.5186 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.05086, allocations: 4 kB / 0.5186 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/0.05087, allocations: 15.98 kB / 0.5186 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.05125, allocations: 147.8 kB / 0.5187 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.05126, allocations: 11.94 kB / 0.5187 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.05153, allocations: 67.64 kB / 0.5188 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.05157, allocations: 27.98 kB / 0.5188 GB, free: 5.828 MB / 442.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.0001483/0.05172, allocations: 300 kB / 0.5191 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.05182, allocations: 79.56 kB / 0.5192 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.05395, allocations: 0.9683 MB / 0.5201 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.05397, allocations: 8 kB / 0.5201 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.05397, allocations: 4.062 kB / 0.5201 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.05398, allocations: 0 / 0.5201 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.05687, allocations: 1.659 MB / 0.5218 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.05687, allocations: 4 kB / 0.5218 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.0571, allocations: 83.88 kB / 0.5218 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.05851, allocations: 331.5 kB / 0.5222 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.05854, allocations: 11.98 kB / 0.5222 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006947/0.05924, allocations: 0.8936 MB / 0.523 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.05924, allocations: 0 / 0.523 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.06138, allocations: 1.051 MB / 0.5241 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.06155, allocations: 135.3 kB / 0.5242 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.06161, allocations: 8 kB / 0.5242 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.06185, allocations: 31.97 kB / 0.5242 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.06191, allocations: 39.89 kB / 0.5243 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.06194, allocations: 16 kB / 0.5243 GB, free: 72 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002535/0.06219, allocations: 354.8 kB / 0.5246 GB, free: 15.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06219, allocations: 0 / 0.5246 GB, free: 15.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008743/0.06307, allocations: 399.1 kB / 0.525 GB, free: 15.33 MB / 458.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.0004653/0.06353, allocations: 273.1 kB / 0.5253 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.06472, allocations: 0.9019 MB / 0.5262 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.06473, allocations: 0 / 0.5262 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.0654, allocations: 334.3 kB / 0.5265 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/0.06613, allocations: 236.4 kB / 0.5267 GB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.06786, allocations: 1.11 MB / 0.5278 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.06795, allocations: 144 kB / 0.5279 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.0684, allocations: 159.3 kB / 0.5281 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.06858, allocations: 60.47 kB / 0.5281 GB, free: 12.07 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06858, allocations: 0 / 0.5281 GB, free: 12.07 MB / 458.7 MB Notification: Performance of Templates: time 0.01679/0.08537, allocations: 16.14 MB / 0.5439 GB, free: 12.14 MB / 474.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.004987810971215]