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.001706/0.001706, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.001721/0.001721, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.015/1.015, allocations: 115 MB / 375.3 MB, free: 7.574 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.643e-06/1.643e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.612e-05, allocations: 5.828 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02845/0.02848, allocations: 27.24 MB / 0.4961 GB, free: 9.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.04223, allocations: 7.423 MB / 0.5034 GB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.0438, allocations: 51.5 kB / 0.5034 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.04522, allocations: 417 kB / 0.5038 GB, free: 4.297 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.05048, allocations: 1.482 MB / 0.5053 GB, free: 3.105 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.05437, allocations: 1.187 MB / 0.5064 GB, free: 2.211 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.06087, allocations: 3.465 MB / 0.5098 GB, free: 15.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.06343, allocations: 1.212 MB / 0.511 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.06867, allocations: 2.143 MB / 0.5131 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.07271, allocations: 1.567 MB / 0.5146 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006218/0.07333, allocations: 128 kB / 0.5147 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.07603, allocations: 0.8499 MB / 0.5156 GB, free: 9.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006441/0.07667, allocations: 410.6 kB / 0.5159 GB, free: 8.863 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.078, allocations: 0.5651 MB / 0.5165 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.0831, allocations: 2.396 MB / 0.5188 GB, free: 5.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.08311, allocations: 0 / 0.5188 GB, free: 5.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.08311, allocations: 0 / 0.5188 GB, free: 5.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.225e-05/0.08319, allocations: 0 / 0.5188 GB, free: 5.895 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.004021/0.08721, allocations: 1.602 MB / 0.5204 GB, free: 4.258 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.08725, allocations: 8.031 kB / 0.5204 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.08856, allocations: 259 kB / 0.5207 GB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.09071, allocations: 0.8897 MB / 0.5215 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.09081, allocations: 85.25 kB / 0.5216 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.09106, allocations: 124 kB / 0.5217 GB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.09247, allocations: 0.6747 MB / 0.5224 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.09249, allocations: 7.938 kB / 0.5224 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.09257, allocations: 27.94 kB / 0.5224 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.09259, allocations: 16 kB / 0.5224 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.09376, allocations: 0.5203 MB / 0.5229 GB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00631/0.1001, allocations: 2.453 MB / 0.5253 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.1008, allocations: 315.7 kB / 0.5256 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.1012, allocations: 165.3 kB / 0.5258 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.1014, allocations: 44.25 kB / 0.5258 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.1015, allocations: 34.84 kB / 0.5259 GB, free: 14.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.564e-06/0.1015, allocations: 0 / 0.5259 GB, free: 14.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001752/0.1032, allocations: 0.6078 MB / 0.5265 GB, free: 13.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1033, allocations: 55.41 kB / 0.5265 GB, free: 13.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1046, allocations: 0.7918 MB / 0.5273 GB, free: 13.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.1048, allocations: 61.7 kB / 0.5273 GB, free: 12.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006095/0.1054, allocations: 0.4914 MB / 0.5278 GB, free: 12.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.1056, allocations: 123 kB / 0.5279 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.1061, allocations: 283.1 kB / 0.5282 GB, free: 12.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1063, allocations: 330.1 kB / 0.5285 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.1068, allocations: 213.4 kB / 0.5287 GB, free: 11.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/0.1111, allocations: 4.044 MB / 0.5327 GB, free: 6.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.1123, allocations: 0.4981 MB / 0.5332 GB, free: 5.875 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1123, allocations: 0 / 0.5332 GB, free: 5.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001879/0.1142, allocations: 0.7116 MB / 0.5339 GB, free: 5.156 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.1142, allocations: 8 kB / 0.5339 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1142, allocations: 0 / 0.5339 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.1142, allocations: 4 kB / 0.5339 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.1159, allocations: 235.9 kB / 0.5341 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1185, allocations: 2.957 MB / 0.537 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/0.1221, allocations: 0.6877 MB / 0.5377 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.1222, allocations: 27.98 kB / 0.5377 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009284/0.1231, allocations: 389.3 kB / 0.5381 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003745/0.1269, allocations: 4.059 MB / 0.542 GB, free: 11.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001133/0.128, allocations: 0.5014 MB / 0.5425 GB, free: 11.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/0.128, allocations: 4 kB / 0.5425 GB, free: 11.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002189/0.1302, allocations: 0.7231 MB / 0.5432 GB, free: 10.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1302, allocations: 4 kB / 0.5432 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1302, allocations: 4 kB / 0.5432 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.1302, allocations: 4 kB / 0.5432 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/0.1311, allocations: 164.1 kB / 0.5434 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1311, allocations: 7.984 kB / 0.5434 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/0.1358, allocations: 0.9653 MB / 0.5443 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.1359, allocations: 23.98 kB / 0.5444 GB, free: 9.16 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.0003934/0.1363, allocations: 241.1 kB / 0.5446 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.1366, allocations: 107.3 kB / 0.5447 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.138, allocations: 0.5661 MB / 0.5452 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.138, allocations: 4 kB / 0.5453 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.138, allocations: 0 / 0.5453 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.138, allocations: 3.984 kB / 0.5453 GB, free: 8.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.1408, allocations: 1.16 MB / 0.5464 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.1408, allocations: 0 / 0.5464 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/0.1415, allocations: 127.9 kB / 0.5465 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1415, allocations: 0 / 0.5465 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.1416, allocations: 15.98 kB / 0.5465 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.1438, allocations: 2.942 MB / 0.5494 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1438, allocations: 480 / 0.5494 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1451, allocations: 0.6262 MB / 0.55 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.1456, allocations: 127.3 kB / 0.5501 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1457, allocations: 8 kB / 0.5501 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.1462, allocations: 27.97 kB / 0.5502 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1463, allocations: 35.88 kB / 0.5502 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.1464, allocations: 12 kB / 0.5502 GB, free: 2.953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007806/0.1471, allocations: 0.531 MB / 0.5507 GB, free: 2.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1471, allocations: 0 / 0.5507 GB, free: 2.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001703/0.1488, allocations: 0.5534 MB / 0.5513 GB, free: 1.855 MB / 474.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.0006529/0.1495, allocations: 314.1 kB / 0.5516 GB, free: 1.539 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.1525, allocations: 0.8733 MB / 0.5524 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1525, allocations: 4 kB / 0.5524 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.1533, allocations: 245.8 kB / 0.5527 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.155, allocations: 355.2 kB / 0.553 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.1579, allocations: 1.546 MB / 0.5545 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.1584, allocations: 433.3 kB / 0.5549 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.1596, allocations: 202 kB / 0.5551 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.1598, allocations: 80.47 kB / 0.5552 GB, free: 13.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1598, allocations: 0 / 0.5552 GB, free: 13.76 MB / 490.7 MB Notification: Performance of Templates: time 0.04687/0.2067, allocations: 26.03 MB / 0.5806 GB, free: 4.418 MB / 0.4948 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.746114908019081]