Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.001401/0.001401, 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.001703/0.001703, 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 1.111/1.111, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6082/0.6082, allocations: 115 MB / 376 MB, free: 7.625 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.992e-05, allocations: 4.531 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02891/0.02893, allocations: 30.77 MB / 0.5003 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009403/0.03833, allocations: 8.171 MB / 0.5083 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.0393, allocations: 51.5 kB / 0.5083 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009868/0.04028, allocations: 423.5 kB / 0.5087 GB, free: 480 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.0432, allocations: 1.48 MB / 0.5102 GB, free: 15.28 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.04553, allocations: 1.191 MB / 0.5113 GB, free: 14.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.04838, allocations: 3.457 MB / 0.5147 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.04986, allocations: 1.22 MB / 0.5159 GB, free: 9.621 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.05263, allocations: 2.147 MB / 0.518 GB, free: 7.469 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.05432, allocations: 1.582 MB / 0.5195 GB, free: 5.883 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.05457, allocations: 128 kB / 0.5197 GB, free: 5.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.05588, allocations: 0.846 MB / 0.5205 GB, free: 4.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.0562, allocations: 422.6 kB / 0.5209 GB, free: 4.496 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.05678, allocations: 0.5807 MB / 0.5215 GB, free: 3.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.05865, allocations: 2.002 MB / 0.5234 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.05866, allocations: 0 / 0.5234 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.05866, allocations: 0 / 0.5234 GB, free: 1.906 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.05868, allocations: 0 / 0.5234 GB, free: 1.906 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001859/0.06054, allocations: 1.69 MB / 0.5251 GB, free: 180 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.06058, allocations: 8.031 kB / 0.5251 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.06128, allocations: 263.2 kB / 0.5253 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.06237, allocations: 0.8611 MB / 0.5262 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.06242, allocations: 81.31 kB / 0.5262 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.06256, allocations: 116 kB / 0.5263 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.06326, allocations: 0.5736 MB / 0.5269 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.06328, allocations: 0 / 0.5269 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.06332, allocations: 24 kB / 0.5269 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.06334, allocations: 16 kB / 0.5269 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.06381, allocations: 343.2 kB / 0.5273 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.06676, allocations: 2.721 MB / 0.5299 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.06714, allocations: 240 kB / 0.5302 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.06729, allocations: 112.2 kB / 0.5303 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.06743, allocations: 40.25 kB / 0.5303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.06745, allocations: 33.67 kB / 0.5303 GB, free: 10.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.06745, allocations: 0 / 0.5303 GB, free: 10.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008004/0.06825, allocations: 482.4 kB / 0.5308 GB, free: 10.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.06829, allocations: 55.41 kB / 0.5308 GB, free: 10.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.0689, allocations: 0.7739 MB / 0.5316 GB, free: 9.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.06899, allocations: 53.7 kB / 0.5317 GB, free: 9.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.06933, allocations: 0.5449 MB / 0.5322 GB, free: 8.641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.0694, allocations: 115 kB / 0.5323 GB, free: 8.527 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.06965, allocations: 284.7 kB / 0.5326 GB, free: 8.242 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.06977, allocations: 0.5005 MB / 0.5331 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.06998, allocations: 140.2 kB / 0.5332 GB, free: 7.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.07178, allocations: 4.134 MB / 0.5372 GB, free: 2.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.07224, allocations: 395.6 kB / 0.5376 GB, free: 1.836 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.07224, allocations: 0 / 0.5376 GB, free: 1.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007591/0.073, allocations: 0.5594 MB / 0.5382 GB, free: 1.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.07302, allocations: 12.19 kB / 0.5382 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.07303, allocations: 4 kB / 0.5382 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.07305, allocations: 4 kB / 0.5382 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.07382, allocations: 231.7 kB / 0.5384 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.07523, allocations: 4.497 MB / 0.5428 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.07677, allocations: 0.6914 MB / 0.5435 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.07682, allocations: 27.98 kB / 0.5435 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003779/0.0772, allocations: 288.1 kB / 0.5438 GB, free: 11.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001726/0.07892, allocations: 4.153 MB / 0.5478 GB, free: 6.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004448/0.07937, allocations: 414.4 kB / 0.5482 GB, free: 5.555 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.07937, allocations: 0 / 0.5482 GB, free: 5.555 MB / 474.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0007942/0.08016, allocations: 0.5867 MB / 0.5488 GB, free: 4.965 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.08017, allocations: 8 kB / 0.5488 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.08018, allocations: 0 / 0.5488 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.08019, allocations: 8 kB / 0.5488 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.08055, allocations: 160.1 kB / 0.549 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.08056, allocations: 7.938 kB / 0.549 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.0826, allocations: 0.9731 MB / 0.5499 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.08264, allocations: 35.98 kB / 0.5499 GB, free: 3.773 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.08286, allocations: 324.9 kB / 0.5503 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.08296, allocations: 99.39 kB / 0.5503 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006141/0.08357, allocations: 459.7 kB / 0.5508 GB, free: 2.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.08358, allocations: 4 kB / 0.5508 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08358, allocations: 0 / 0.5508 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.08359, allocations: 3.984 kB / 0.5508 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.08478, allocations: 1.108 MB / 0.5519 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.08479, allocations: 4 kB / 0.5519 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.08508, allocations: 107.9 kB / 0.552 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.08508, allocations: 0 / 0.552 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.08511, allocations: 19.98 kB / 0.552 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.08632, allocations: 4.478 MB / 0.5564 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.08632, allocations: 4 kB / 0.5564 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.08682, allocations: 0.5641 MB / 0.5569 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.08698, allocations: 135.2 kB / 0.5571 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.08703, allocations: 8 kB / 0.5571 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.08724, allocations: 24.2 kB / 0.5571 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.0873, allocations: 31.88 kB / 0.5571 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.08732, allocations: 16 kB / 0.5571 GB, free: 12.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003657/0.08769, allocations: 495.6 kB / 0.5576 GB, free: 11.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08769, allocations: 0 / 0.5576 GB, free: 11.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009333/0.08862, allocations: 0.5457 MB / 0.5581 GB, free: 11.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004408/0.08906, allocations: 318.5 kB / 0.5584 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.0903, allocations: 0.7425 MB / 0.5592 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.0903, allocations: 0 / 0.5592 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.0906, allocations: 221.2 kB / 0.5594 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.09151, allocations: 354.3 kB / 0.5597 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.09343, allocations: 1.482 MB / 0.5612 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.09354, allocations: 184 kB / 0.5613 GB, free: 7.738 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004919/0.09403, allocations: 186.1 kB / 0.5615 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.09419, allocations: 80.41 kB / 0.5616 GB, free: 7.477 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0942, allocations: 4 kB / 0.5616 GB, free: 7.473 MB / 490.7 MB Notification: Performance of Templates: time 0.02691/0.1211, allocations: 26.12 MB / 0.5871 GB, free: 14.04 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.493668916868046]