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.0009505/0.0009505, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001015/0.001015, allocations: 171.8 kB / 24.84 MB, free: 9.254 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.964/0.964, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6355/0.6355, allocations: 115 MB / 376.8 MB, free: 7.48 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.422e-06/1.422e-06, allocations: 0 / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.626e-05, allocations: 2.312 kB / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.006892/0.006908, allocations: 8.369 MB / 491.1 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.01025, allocations: 3.217 MB / 494.3 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.0105, allocations: 31.22 kB / 494.4 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.01088, allocations: 173.9 kB / 494.5 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.01154, allocations: 0.519 MB / 495.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.0128, allocations: 0.8942 MB / 496 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.01386, allocations: 1.483 MB / 497.4 MB, free: 2.281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.01424, allocations: 436.9 kB / 497.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.01485, allocations: 0.7457 MB / 498.6 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.01529, allocations: 450.6 kB / 499 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.01537, allocations: 54.5 kB / 499.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.01591, allocations: 461.5 kB / 499.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.01603, allocations: 167.6 kB / 499.7 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.01626, allocations: 250.5 kB / 500 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.01705, allocations: 0.8224 MB / 0.489 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01705, allocations: 0.8906 kB / 0.489 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01705, allocations: 1.656 kB / 0.489 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.01706, allocations: 1.031 kB / 0.489 GB, free: 0.9336 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.001115/0.01818, allocations: 1.118 MB / 0.4901 GB, free: 132 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01821, allocations: 9.562 kB / 0.4901 GB, free: 132 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.01926, allocations: 293.4 kB / 0.4904 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.01987, allocations: 473.2 kB / 0.4909 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.0199, allocations: 37.62 kB / 0.4909 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.01998, allocations: 52.31 kB / 0.491 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.0208, allocations: 0.724 MB / 0.4917 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.02082, allocations: 2.469 kB / 0.4917 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.02086, allocations: 18.55 kB / 0.4917 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.02088, allocations: 12.09 kB / 0.4917 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.02142, allocations: 469.9 kB / 0.4922 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.025, allocations: 4.096 MB / 0.4962 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.02542, allocations: 285.8 kB / 0.4964 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.02566, allocations: 198.1 kB / 0.4966 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.02577, allocations: 26.61 kB / 0.4966 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.0258, allocations: 45.11 kB / 0.4967 GB, free: 11.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.806e-06/0.0258, allocations: 7.922 kB / 0.4967 GB, free: 11.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=38): time 0.002777/0.02858, allocations: 0.972 MB / 0.4976 GB, free: 11.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.02861, allocations: 56.55 kB / 0.4977 GB, free: 11.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.02901, allocations: 0.5244 MB / 0.4982 GB, free: 10.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.02906, allocations: 38.36 kB / 0.4982 GB, free: 10.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.02926, allocations: 384.8 kB / 0.4986 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.02935, allocations: 140.5 kB / 0.4987 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.02951, allocations: 128.7 kB / 0.4989 GB, free: 10.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.02968, allocations: 0.5479 MB / 0.4994 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.0299, allocations: 185 kB / 0.4996 GB, free: 9.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.03024, allocations: 460.1 kB / 0.5 GB, free: 9.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.03074, allocations: 0.5627 MB / 0.5006 GB, free: 8.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03074, allocations: 0 / 0.5006 GB, free: 8.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002332/0.03307, allocations: 0.9945 MB / 0.5015 GB, free: 7.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.03309, allocations: 8 kB / 0.5015 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0331, allocations: 4 kB / 0.5015 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.0347, allocations: 374.7 kB / 0.5019 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.03506, allocations: 136.8 kB / 0.502 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/0.03555, allocations: 0.8582 MB / 0.5029 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.03588, allocations: 78.56 kB / 0.5029 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.03593, allocations: 24.17 kB / 0.503 GB, free: 6.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003043/0.03623, allocations: 310.8 kB / 0.5033 GB, free: 5.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003222/0.03656, allocations: 459.9 kB / 0.5037 GB, free: 5.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004814/0.03704, allocations: 0.5594 MB / 0.5043 GB, free: 4.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.03704, allocations: 0 / 0.5043 GB, free: 4.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.000693/0.03773, allocations: 0.6249 MB / 0.5049 GB, free: 4.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.03774, allocations: 12.55 kB / 0.5049 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.03775, allocations: 4.625 kB / 0.5049 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.03776, allocations: 8 kB / 0.5049 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.03819, allocations: 152 kB / 0.505 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.03819, allocations: 4.703 kB / 0.505 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.03849, allocations: 70.66 kB / 0.5051 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.03853, allocations: 24.08 kB / 0.5051 GB, free: 4.023 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.0001763/0.03871, allocations: 308.6 kB / 0.5054 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.0388, allocations: 67.62 kB / 0.5055 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.04098, allocations: 0.8909 MB / 0.5064 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.04099, allocations: 11.98 kB / 0.5064 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.041, allocations: 4.609 kB / 0.5064 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.041, allocations: 2.031 kB / 0.5064 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.04399, allocations: 1.498 MB / 0.5078 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.04399, allocations: 4 kB / 0.5078 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.04424, allocations: 87.27 kB / 0.5079 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.04564, allocations: 328 kB / 0.5082 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.04567, allocations: 20.08 kB / 0.5083 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006865/0.04636, allocations: 0.8819 MB / 0.5091 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.04636, allocations: 0 / 0.5091 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.04824, allocations: 0.9685 MB / 0.5101 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.04842, allocations: 131.3 kB / 0.5102 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.04848, allocations: 19.98 kB / 0.5102 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.04872, allocations: 31.98 kB / 0.5102 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.04878, allocations: 35.83 kB / 0.5103 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.04881, allocations: 19.98 kB / 0.5103 GB, free: 15.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.04903, allocations: 330.6 kB / 0.5106 GB, free: 14.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04903, allocations: 0 / 0.5106 GB, free: 14.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001037/0.05007, allocations: 387.2 kB / 0.511 GB, free: 14.41 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.0003655/0.05044, allocations: 218.7 kB / 0.5112 GB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.05159, allocations: 0.7751 MB / 0.5119 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.05159, allocations: 1.938 kB / 0.5119 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.05236, allocations: 298.1 kB / 0.5122 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00085/0.05321, allocations: 224.3 kB / 0.5124 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.0549, allocations: 1.08 MB / 0.5135 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.05501, allocations: 140 kB / 0.5136 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.05556, allocations: 143.9 kB / 0.5138 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.05612, allocations: 254 kB / 0.514 GB, free: 11.23 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.05612, allocations: 0 / 0.514 GB, free: 11.23 MB / 442.7 MB Notification: Performance of Templates: time 0.02248/0.0786, allocations: 16.68 MB / 0.5303 GB, free: 10.82 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.9330496937036514]