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.002573/0.002573, allocations: 97.47 kB / 20.21 MB, free: 4.207 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.003044/0.003044, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 1.013/1.013, 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.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 2.205e-06/2.205e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.663e-05, allocations: 4.5 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02175/0.02179, allocations: 19.92 MB / 0.489 GB, free: 14.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009993/0.03178, allocations: 5.158 MB / 0.494 GB, free: 11.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.03293, allocations: 30.66 kB / 0.494 GB, free: 11.3 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.03394, allocations: 265.8 kB / 0.4943 GB, free: 11.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.03686, allocations: 0.8166 MB / 0.4951 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.03968, allocations: 0.9237 MB / 0.496 GB, free: 10.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.04273, allocations: 1.508 MB / 0.4975 GB, free: 9.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.04424, allocations: 431.3 kB / 0.4979 GB, free: 9.199 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.04732, allocations: 0.8731 MB / 0.4987 GB, free: 8.832 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.04842, allocations: 453.3 kB / 0.4992 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.04855, allocations: 52 kB / 0.4992 GB, free: 8.625 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.05026, allocations: 0.5364 MB / 0.4997 GB, free: 8.199 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.05054, allocations: 176.8 kB / 0.4999 GB, free: 8.055 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.05099, allocations: 257.8 kB / 0.5001 GB, free: 7.828 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.05332, allocations: 1.105 MB / 0.5012 GB, free: 7.035 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.05333, allocations: 0 / 0.5012 GB, free: 7.035 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.05333, allocations: 0 / 0.5012 GB, free: 7.035 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.05334, allocations: 0 / 0.5012 GB, free: 7.035 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.002478/0.05582, allocations: 1.158 MB / 0.5024 GB, free: 5.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.05587, allocations: 8.781 kB / 0.5024 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.05824, allocations: 293.9 kB / 0.5026 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.05932, allocations: 0.5016 MB / 0.5031 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.05937, allocations: 33 kB / 0.5032 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.05947, allocations: 48 kB / 0.5032 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.06119, allocations: 0.9196 MB / 0.5041 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.06121, allocations: 3.984 kB / 0.5041 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.06129, allocations: 16.66 kB / 0.5041 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.06131, allocations: 12 kB / 0.5041 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.06311, allocations: 0.8374 MB / 0.505 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008644/0.07175, allocations: 4.361 MB / 0.5092 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.07278, allocations: 460.8 kB / 0.5097 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.07349, allocations: 348.8 kB / 0.51 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.07372, allocations: 40.69 kB / 0.51 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.07377, allocations: 41.42 kB / 0.5101 GB, free: 14.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.815e-06/0.07377, allocations: 3.312 kB / 0.5101 GB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.00699/0.08076, allocations: 1.415 MB / 0.5114 GB, free: 13.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.08082, allocations: 56.03 kB / 0.5115 GB, free: 13.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.08183, allocations: 0.6474 MB / 0.5121 GB, free: 12.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.08197, allocations: 37.64 kB / 0.5122 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.08238, allocations: 404.2 kB / 0.5126 GB, free: 11.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.08256, allocations: 142.8 kB / 0.5127 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.08285, allocations: 131.9 kB / 0.5128 GB, free: 11.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003672/0.08322, allocations: 0.5664 MB / 0.5134 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.08395, allocations: 346.2 kB / 0.5137 GB, free: 10.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.08502, allocations: 0.611 MB / 0.5143 GB, free: 10.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.08678, allocations: 0.8763 MB / 0.5152 GB, free: 9.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.08679, allocations: 0 / 0.5152 GB, free: 9.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.006424/0.09321, allocations: 1.339 MB / 0.5165 GB, free: 7.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.09324, allocations: 8.562 kB / 0.5165 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.09325, allocations: 4 kB / 0.5165 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/0.09716, allocations: 423.3 kB / 0.5169 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/0.09805, allocations: 139.8 kB / 0.517 GB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.09921, allocations: 0.9757 MB / 0.518 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/0.1001, allocations: 79.59 kB / 0.518 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.1002, allocations: 31.92 kB / 0.5181 GB, free: 6.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.1012, allocations: 0.5 MB / 0.5186 GB, free: 5.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009889/0.1022, allocations: 0.611 MB / 0.5192 GB, free: 4.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001604/0.1038, allocations: 0.8606 MB / 0.52 GB, free: 3.914 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.653e-06/0.1038, allocations: 4 kB / 0.52 GB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.002065/0.1059, allocations: 0.9341 MB / 0.5209 GB, free: 2.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1059, allocations: 7.984 kB / 0.5209 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1059, allocations: 4.562 kB / 0.5209 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.106, allocations: 12 kB / 0.5209 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.1069, allocations: 147.8 kB / 0.5211 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1069, allocations: 11.98 kB / 0.5211 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.1076, allocations: 59.72 kB / 0.5211 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.1077, allocations: 31.92 kB / 0.5212 GB, free: 2.699 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.0003924/0.1081, allocations: 303.8 kB / 0.5215 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.1083, allocations: 79.56 kB / 0.5215 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005627/0.1139, allocations: 1.197 MB / 0.5227 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.1139, allocations: 4 kB / 0.5227 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1139, allocations: 0 / 0.5227 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.1139, allocations: 3.984 kB / 0.5227 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/0.1212, allocations: 1.995 MB / 0.5247 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.1212, allocations: 192 / 0.5247 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.1217, allocations: 87.89 kB / 0.5247 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003817/0.1256, allocations: 387.3 kB / 0.5251 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1257, allocations: 11.98 kB / 0.5251 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.1276, allocations: 0.9951 MB / 0.5261 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1276, allocations: 0 / 0.5261 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.1331, allocations: 1.277 MB / 0.5273 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.1337, allocations: 131.3 kB / 0.5275 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.1338, allocations: 15.98 kB / 0.5275 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.1344, allocations: 23.98 kB / 0.5275 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1345, allocations: 35.88 kB / 0.5275 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.1346, allocations: 19.98 kB / 0.5276 GB, free: 12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006086/0.1352, allocations: 422.7 kB / 0.528 GB, free: 11.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1352, allocations: 0 / 0.528 GB, free: 11.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001456/0.1366, allocations: 399.1 kB / 0.5283 GB, free: 11.2 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.0006757/0.1373, allocations: 275.5 kB / 0.5286 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.1405, allocations: 1.242 MB / 0.5298 GB, free: 9.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1405, allocations: 4 kB / 0.5298 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.1422, allocations: 442.1 kB / 0.5303 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.1436, allocations: 233.9 kB / 0.5305 GB, free: 9.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.1461, allocations: 1.203 MB / 0.5316 GB, free: 7.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1465, allocations: 306.8 kB / 0.5319 GB, free: 7.445 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000814/0.1473, allocations: 157 kB / 0.5321 GB, free: 7.289 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.1476, allocations: 64.47 kB / 0.5322 GB, free: 7.227 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1476, allocations: 0 / 0.5322 GB, free: 7.227 MB / 458.7 MB Notification: Performance of Templates: time 0.03188/0.1795, allocations: 16.13 MB / 0.5479 GB, free: 7.309 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: 6.532461057067849]