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.0008456/0.0008456, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008296/0.0008296, allocations: 166.3 kB / 23.97 MB, free: 0.5977 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.8961/0.8961, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.5357/0.5357, allocations: 114 MB / 374.7 MB, free: 8.707 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.533e-06/1.533e-06, allocations: 0 / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.174e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01365/0.01367, allocations: 17.8 MB / 0.5728 GB, free: 420 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.01909, allocations: 4.699 MB / 0.5774 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.01957, allocations: 27.75 kB / 0.5774 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.02031, allocations: 265.9 kB / 0.5777 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.02154, allocations: 0.8262 MB / 0.5785 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.0232, allocations: 0.9054 MB / 0.5794 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.02425, allocations: 1.515 MB / 0.5808 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.02463, allocations: 421.4 kB / 0.5812 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.02583, allocations: 0.8762 MB / 0.5821 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.0262, allocations: 442.7 kB / 0.5825 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.02626, allocations: 56 kB / 0.5826 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006038/0.02686, allocations: 0.5418 MB / 0.5831 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.02697, allocations: 171.2 kB / 0.5833 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.02714, allocations: 251.4 kB / 0.5835 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.02802, allocations: 1.094 MB / 0.5846 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.02803, allocations: 0 / 0.5846 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/0.02803, allocations: 3.938 kB / 0.5846 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.02804, allocations: 0 / 0.5846 GB, free: 4.305 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001246/0.02928, allocations: 1.025 MB / 0.5856 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.02932, allocations: 8.625 kB / 0.5856 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.03023, allocations: 244.1 kB / 0.5858 GB, free: 3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.03082, allocations: 491.5 kB / 0.5863 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.03084, allocations: 40.94 kB / 0.5863 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.0309, allocations: 48 kB / 0.5864 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.03172, allocations: 0.7832 MB / 0.5871 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.03173, allocations: 3.938 kB / 0.5871 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.03177, allocations: 20 kB / 0.5872 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.03178, allocations: 12 kB / 0.5872 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/0.03276, allocations: 0.6947 MB / 0.5879 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.03592, allocations: 3.387 MB / 0.5912 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.03643, allocations: 393.2 kB / 0.5915 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.03679, allocations: 288.6 kB / 0.5918 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.03692, allocations: 35.97 kB / 0.5918 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.03694, allocations: 34.56 kB / 0.5919 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=38): time 1.943e-06/0.03694, allocations: 0 / 0.5919 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=38): time 0.00302/0.03996, allocations: 1.291 MB / 0.5931 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.03999, allocations: 55.41 kB / 0.5932 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.04037, allocations: 0.5186 MB / 0.5937 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.04041, allocations: 33.7 kB / 0.5937 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.04057, allocations: 344.8 kB / 0.5941 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.04064, allocations: 142.8 kB / 0.5942 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.04077, allocations: 114.3 kB / 0.5943 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.04087, allocations: 366.7 kB / 0.5947 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.04124, allocations: 303.2 kB / 0.5949 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.04169, allocations: 0.4933 MB / 0.5954 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.04247, allocations: 0.7233 MB / 0.5961 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.04248, allocations: 0 / 0.5961 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00248/0.04496, allocations: 1.231 MB / 0.5973 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.04497, allocations: 11.98 kB / 0.5973 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.04498, allocations: 8 kB / 0.5974 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.04541, allocations: 200.8 kB / 0.5975 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.04575, allocations: 139.9 kB / 0.5977 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/0.04623, allocations: 0.6812 MB / 0.5983 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.04655, allocations: 79.58 kB / 0.5984 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.0466, allocations: 35.92 kB / 0.5985 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004733/0.04707, allocations: 421.3 kB / 0.5989 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004448/0.04751, allocations: 0.5011 MB / 0.5993 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007828/0.0483, allocations: 0.7 MB / 0.6 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.0483, allocations: 4 kB / 0.6 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0009482/0.04925, allocations: 0.813 MB / 0.6008 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.04926, allocations: 8 kB / 0.6008 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.04926, allocations: 7.984 kB / 0.6008 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.04927, allocations: 8 kB / 0.6008 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.04964, allocations: 156.3 kB / 0.601 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.04965, allocations: 11.98 kB / 0.601 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.04993, allocations: 67.73 kB / 0.6011 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.04997, allocations: 27.98 kB / 0.6011 GB, free: 2.734 MB / 0.5573 GB 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.0001282/0.05009, allocations: 224 kB / 0.6013 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.05016, allocations: 59.58 kB / 0.6014 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.05243, allocations: 1.134 MB / 0.6025 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.05244, allocations: 8.094 kB / 0.6025 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.05244, allocations: 0 / 0.6025 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.05245, allocations: 7.969 kB / 0.6025 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.05545, allocations: 1.808 MB / 0.6043 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.05545, allocations: 0 / 0.6043 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.05568, allocations: 91.88 kB / 0.6043 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.05596, allocations: 176.8 kB / 0.6045 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.05599, allocations: 23.98 kB / 0.6045 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006862/0.05668, allocations: 0.6968 MB / 0.6052 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.05668, allocations: 0 / 0.6052 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.05877, allocations: 1.156 MB / 0.6063 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.05894, allocations: 127.4 kB / 0.6065 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.05899, allocations: 16 kB / 0.6065 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.05924, allocations: 43.95 kB / 0.6065 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.05929, allocations: 31.94 kB / 0.6066 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.05932, allocations: 19.98 kB / 0.6066 GB, free: 13 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002485/0.05957, allocations: 350.8 kB / 0.6069 GB, free: 12.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05957, allocations: 0 / 0.6069 GB, free: 12.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006815/0.06025, allocations: 407.1 kB / 0.6073 GB, free: 12.26 MB / 0.573 GB 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.000363/0.06062, allocations: 271.2 kB / 0.6076 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.06196, allocations: 1.02 MB / 0.6086 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.06196, allocations: 4 kB / 0.6086 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.06266, allocations: 372.5 kB / 0.6089 GB, free: 10.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.06324, allocations: 198.3 kB / 0.6091 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.0645, allocations: 1.16 MB / 0.6102 GB, free: 9.215 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.06468, allocations: 306.5 kB / 0.6105 GB, free: 8.887 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.06486, allocations: 60.47 kB / 0.6106 GB, free: 8.828 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.06486, allocations: 4 kB / 0.6106 GB, free: 8.824 MB / 0.573 GB Notification: Performance of Templates: time 0.0105/0.07537, allocations: 13.91 MB / 0.6242 GB, free: 11.03 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.847704512067139] Failed to read output from testmodel.py, exit status != 0: 0.0805511474609375 0.08770222700000001 0.058048760000000005 Calling exit ...