Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001369/0.001369, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001527/0.001527, allocations: 216.6 kB / 22.99 MB, free: 4.977 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.051/1.051, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 178] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003474/0.003474, allocations: 66.38 kB / 0.6415 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2507, allocations: 89.18 MB / 0.7286 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01989/0.2706, allocations: 14.48 MB / 0.7428 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007799/0.2784, allocations: 4.109 MB / 0.7468 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.279, allocations: 23.75 kB / 0.7468 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.28, allocations: 262.3 kB / 0.7471 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.2822, allocations: 0.6686 MB / 0.7477 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.2848, allocations: 0.7214 MB / 0.7484 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.2868, allocations: 1.033 MB / 0.7494 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.2873, allocations: 280.4 kB / 0.7497 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.2883, allocations: 0.4902 MB / 0.7502 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.2887, allocations: 314.6 kB / 0.7505 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.2888, allocations: 31.94 kB / 0.7505 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.2901, allocations: 0.5226 MB / 0.751 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2902, allocations: 107.5 kB / 0.7511 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.2904, allocations: 183 kB / 0.7513 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.2917, allocations: 0.7511 MB / 0.752 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2917, allocations: 3.938 kB / 0.752 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.418e-06/0.2917, allocations: 4 kB / 0.752 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.2917, allocations: 0 / 0.752 GB, free: 8.516 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001372/0.2931, allocations: 0.7749 MB / 0.7528 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2931, allocations: 8.031 kB / 0.7528 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2933, allocations: 56.61 kB / 0.7528 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.294, allocations: 369.9 kB / 0.7532 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.294, allocations: 24.38 kB / 0.7532 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.2941, allocations: 31.94 kB / 0.7533 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.2945, allocations: 207.2 kB / 0.7535 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2945, allocations: 0 / 0.7535 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2946, allocations: 12 kB / 0.7535 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2946, allocations: 7.984 kB / 0.7535 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.295, allocations: 169.6 kB / 0.7536 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.2965, allocations: 0.6984 MB / 0.7543 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2968, allocations: 126.5 kB / 0.7544 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.297, allocations: 69.31 kB / 0.7545 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.2971, allocations: 31.97 kB / 0.7545 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2972, allocations: 34.56 kB / 0.7546 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2972, allocations: 4 kB / 0.7546 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006599/0.2978, allocations: 240.2 kB / 0.7548 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2979, allocations: 55.34 kB / 0.7549 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.2984, allocations: 441.9 kB / 0.7553 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.2984, allocations: 29.7 kB / 0.7553 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.2986, allocations: 236.7 kB / 0.7555 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.2987, allocations: 47.59 kB / 0.7556 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.2988, allocations: 57.69 kB / 0.7556 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2989, allocations: 358.7 kB / 0.756 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2991, allocations: 72.81 kB / 0.756 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.2995, allocations: 412.5 kB / 0.7564 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2999, allocations: 161.1 kB / 0.7566 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2999, allocations: 0 / 0.7566 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005226/0.3004, allocations: 253.2 kB / 0.7568 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3005, allocations: 12 kB / 0.7568 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3005, allocations: 3.938 kB / 0.7568 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3005, allocations: 0 / 0.7568 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.3007, allocations: 55.91 kB / 0.7569 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3007, allocations: 0 / 0.7569 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.301, allocations: 31.97 kB / 0.7569 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.301, allocations: 11.97 kB / 0.7569 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002959/0.3013, allocations: 196 kB / 0.7571 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003973/0.3017, allocations: 418.4 kB / 0.7575 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003381/0.3021, allocations: 168.2 kB / 0.7577 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.3021, allocations: 0 / 0.7577 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000499/0.3026, allocations: 245.3 kB / 0.7579 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.3026, allocations: 4 kB / 0.7579 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3026, allocations: 4.188 kB / 0.7579 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.3026, allocations: 0 / 0.7579 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3028, allocations: 51.84 kB / 0.758 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3028, allocations: 4 kB / 0.758 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.3031, allocations: 31.86 kB / 0.758 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3031, allocations: 15.98 kB / 0.758 GB, free: 1.977 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3032, allocations: 200.2 kB / 0.7582 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.3033, allocations: 43.72 kB / 0.7583 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.3039, allocations: 247.9 kB / 0.7585 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3039, allocations: 4 kB / 0.7585 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3039, allocations: 0 / 0.7585 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3039, allocations: 0 / 0.7585 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3049, allocations: 0.6248 MB / 0.7591 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3049, allocations: 3.938 kB / 0.7591 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3051, allocations: 27.98 kB / 0.7591 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3051, allocations: 0 / 0.7591 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3051, allocations: 8 kB / 0.7591 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.3051, allocations: 7.938 kB / 0.7592 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3051, allocations: 0 / 0.7592 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3056, allocations: 350.6 kB / 0.7595 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3057, allocations: 51.73 kB / 0.7595 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3057, allocations: 0 / 0.7595 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3059, allocations: 19.92 kB / 0.7596 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.306, allocations: 15.97 kB / 0.7596 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.306, allocations: 8 kB / 0.7596 GB, free: 300 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003475/0.3064, allocations: 303.1 kB / 0.7599 GB, free: 0 / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3064, allocations: 112 / 0.7599 GB, free: 0 / 0.5762 GB Notification: Performance of remove unused functions: time 0.398/0.7044, allocations: 210.1 kB / 0.7601 GB, free: 36.13 MB / 0.5762 GB 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/0.706, allocations: 490.1 kB / 0.7605 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.7067, allocations: 261.2 kB / 0.7608 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7067, allocations: 1.062 kB / 0.7608 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.7069, allocations: 81.19 kB / 0.7609 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.7078, allocations: 178.7 kB / 0.761 GB, free: 36.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.7092, allocations: 0.717 MB / 0.7617 GB, free: 35.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.7094, allocations: 223.1 kB / 0.7619 GB, free: 35.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000259/0.7097, allocations: 86.97 kB / 0.762 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.7098, allocations: 37.73 kB / 0.7621 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.7098, allocations: 0 / 0.7621 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of Templates: time 0.01876/0.7285, allocations: 8.858 MB / 0.7707 GB, free: 34.66 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.940244846045971] Failed to read output from testmodel.py, exit status != 0: 0.7408045437186956 0.751814556 0.457246221 Calling exit ...