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.001039/0.001039, allocations: 81.95 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.001007/0.001007, allocations: 168.5 kB / 24.84 MB, free: 9.297 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.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.6346/0.6346, allocations: 115 MB / 376.8 MB, free: 7.504 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.863e-06/1.863e-06, allocations: 0 / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.891e-05, allocations: 2.312 kB / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01197/0.012, allocations: 10.42 MB / 493.2 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.01988, allocations: 4.181 MB / 497.4 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.02161, allocations: 49.34 kB / 497.4 MB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.0224, allocations: 242.1 kB / 497.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.02538, allocations: 0.9066 MB / 498.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.02856, allocations: 1.148 MB / 499.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004916/0.03347, allocations: 3.409 MB / 0.4913 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.03533, allocations: 1.224 MB / 0.4925 GB, free: 14.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/0.0393, allocations: 2.057 MB / 0.4945 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004677/0.04398, allocations: 1.772 MB / 0.4962 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007327/0.04471, allocations: 92.5 kB / 0.4963 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.04687, allocations: 0.6657 MB / 0.497 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.04726, allocations: 312.9 kB / 0.4973 GB, free: 12.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.04824, allocations: 459.5 kB / 0.4977 GB, free: 12.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.05108, allocations: 1.448 MB / 0.4991 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.05108, allocations: 0 / 0.4991 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05108, allocations: 7.938 kB / 0.4991 GB, free: 11.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.05111, allocations: 0.7969 kB / 0.4991 GB, free: 11.24 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002564/0.05367, allocations: 1.586 MB / 0.5007 GB, free: 9.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.05371, allocations: 8.031 kB / 0.5007 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009146/0.05463, allocations: 244.5 kB / 0.5009 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.05582, allocations: 0.6836 MB / 0.5016 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.05588, allocations: 65.31 kB / 0.5017 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.05606, allocations: 92 kB / 0.5018 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.05683, allocations: 0.5306 MB / 0.5023 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.05684, allocations: 0 / 0.5023 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.0569, allocations: 28 kB / 0.5023 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.05691, allocations: 15.94 kB / 0.5023 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.05736, allocations: 268.9 kB / 0.5026 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.06172, allocations: 2.532 MB / 0.505 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.06213, allocations: 200.4 kB / 0.5052 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.06229, allocations: 108.1 kB / 0.5053 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.06242, allocations: 24.25 kB / 0.5054 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.06244, allocations: 41.67 kB / 0.5054 GB, free: 4.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.06245, allocations: 0 / 0.5054 GB, free: 4.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001001/0.06345, allocations: 402.5 kB / 0.5058 GB, free: 4.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.06348, allocations: 59.41 kB / 0.5058 GB, free: 4.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008142/0.0643, allocations: 0.7539 MB / 0.5066 GB, free: 3.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.06444, allocations: 41.7 kB / 0.5066 GB, free: 3.582 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.06491, allocations: 0.5314 MB / 0.5071 GB, free: 3.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.06502, allocations: 118.9 kB / 0.5072 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.0654, allocations: 216.2 kB / 0.5075 GB, free: 2.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.06556, allocations: 0.5004 MB / 0.5079 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.0658, allocations: 119.2 kB / 0.5081 GB, free: 2.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.06718, allocations: 2.283 MB / 0.5103 GB, free: 15.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.06773, allocations: 339 kB / 0.5106 GB, free: 14.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.06773, allocations: 0 / 0.5106 GB, free: 14.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006811/0.06842, allocations: 0.5124 MB / 0.5111 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.06843, allocations: 4 kB / 0.5111 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.06844, allocations: 4 kB / 0.5111 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.06845, allocations: 7.938 kB / 0.5111 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.06921, allocations: 231.8 kB / 0.5113 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.07096, allocations: 4.49 MB / 0.5157 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.07219, allocations: 360.1 kB / 0.5161 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.07224, allocations: 24.08 kB / 0.5161 GB, free: 9.004 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000358/0.0726, allocations: 248.1 kB / 0.5163 GB, free: 8.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009339/0.07353, allocations: 2.309 MB / 0.5186 GB, free: 5.777 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003474/0.07388, allocations: 369.3 kB / 0.5189 GB, free: 5.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.07388, allocations: 0 / 0.5189 GB, free: 5.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0006814/0.07456, allocations: 0.5087 MB / 0.5194 GB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.07458, allocations: 7.938 kB / 0.5194 GB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.07458, allocations: 4 kB / 0.5194 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.07459, allocations: 4 kB / 0.5195 GB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.07496, allocations: 159.8 kB / 0.5196 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.07497, allocations: 11.92 kB / 0.5196 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.07646, allocations: 484.5 kB / 0.5201 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.07652, allocations: 27.98 kB / 0.5201 GB, free: 4.164 MB / 442.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.0001999/0.07672, allocations: 308.5 kB / 0.5204 GB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.07683, allocations: 107.3 kB / 0.5205 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.0774, allocations: 408 kB / 0.5209 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.07741, allocations: 4 kB / 0.5209 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.07741, allocations: 4 kB / 0.5209 GB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.07741, allocations: 3.984 kB / 0.5209 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.07881, allocations: 0.9454 MB / 0.5218 GB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.07881, allocations: 4.125 kB / 0.5218 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.07911, allocations: 103.9 kB / 0.5219 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.07911, allocations: 4 kB / 0.5219 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.07914, allocations: 19.92 kB / 0.5219 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.0804, allocations: 4.474 MB / 0.5263 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.0804, allocations: 0 / 0.5263 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.08086, allocations: 0.5361 MB / 0.5268 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.08104, allocations: 131.2 kB / 0.527 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.08109, allocations: 8 kB / 0.527 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.0813, allocations: 19.98 kB / 0.527 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.08135, allocations: 27.95 kB / 0.527 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.08137, allocations: 15.98 kB / 0.527 GB, free: 12.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002966/0.08167, allocations: 451.5 kB / 0.5275 GB, free: 12.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08167, allocations: 4 kB / 0.5275 GB, free: 12.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001141/0.08281, allocations: 0.5106 MB / 0.528 GB, free: 11.85 MB / 458.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.0003426/0.08315, allocations: 221.2 kB / 0.5282 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.08437, allocations: 0.6531 MB / 0.5288 GB, free: 10.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.08437, allocations: 4.062 kB / 0.5288 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.08477, allocations: 199.8 kB / 0.529 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.08568, allocations: 354.6 kB / 0.5294 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.08761, allocations: 1.46 MB / 0.5308 GB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.08772, allocations: 179.7 kB / 0.5309 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006049/0.08833, allocations: 154.1 kB / 0.5311 GB, free: 8.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.08906, allocations: 433.8 kB / 0.5315 GB, free: 8.137 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.08906, allocations: 4 kB / 0.5315 GB, free: 8.133 MB / 458.7 MB Notification: Performance of Templates: time 0.02744/0.1165, allocations: 23.73 MB / 0.5547 GB, free: 0.957 MB / 474.7 MB " [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.453162361867726]