Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 188.9 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8875/0.8875, allocations: 149.6 MB / 456.6 MB, free: 1.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 69.92 kB / 0.6329 GB, free: 8.961 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1656, allocations: 87.87 MB / 0.7187 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0208/0.1864, allocations: 17.74 MB / 0.736 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007362/0.1938, allocations: 4.944 MB / 0.7408 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.1943, allocations: 19.81 kB / 0.7408 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009009/0.1952, allocations: 254.4 kB / 0.7411 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1969, allocations: 0.6492 MB / 0.7417 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1989, allocations: 0.7529 MB / 0.7425 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.2004, allocations: 0.9741 MB / 0.7434 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.201, allocations: 281.5 kB / 0.7437 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.202, allocations: 478.2 kB / 0.7441 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.2025, allocations: 318.6 kB / 0.7444 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.2026, allocations: 28 kB / 0.7445 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.2041, allocations: 0.7603 MB / 0.7452 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.2042, allocations: 135.5 kB / 0.7453 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.2045, allocations: 242.6 kB / 0.7456 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.2062, allocations: 0.8795 MB / 0.7464 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2062, allocations: 0 / 0.7464 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2062, allocations: 0 / 0.7464 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.2062, allocations: 4 kB / 0.7464 GB, free: 4.492 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001632/0.2078, allocations: 0.8228 MB / 0.7472 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2079, allocations: 8.625 kB / 0.7472 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.2081, allocations: 60.61 kB / 0.7473 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.2089, allocations: 398.1 kB / 0.7477 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.209, allocations: 20.5 kB / 0.7477 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.209, allocations: 31.98 kB / 0.7477 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.2096, allocations: 289.3 kB / 0.748 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2096, allocations: 0 / 0.748 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2096, allocations: 8 kB / 0.748 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2096, allocations: 11.94 kB / 0.748 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.2101, allocations: 189.8 kB / 0.7482 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.2122, allocations: 1.453 MB / 0.7496 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.2126, allocations: 148.9 kB / 0.7498 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2127, allocations: 72.81 kB / 0.7498 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.2141, allocations: 0.5816 MB / 0.7504 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.2141, allocations: 34.56 kB / 0.7504 GB, free: 172 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.507e-06/0.2141, allocations: 11.98 kB / 0.7504 GB, free: 160 kB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.3015/0.5156, allocations: 242.8 kB / 0.7507 GB, free: 34.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5157, allocations: 54.19 kB / 0.7507 GB, free: 34.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.5163, allocations: 0.5752 MB / 0.7513 GB, free: 34.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5163, allocations: 30.45 kB / 0.7513 GB, free: 34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5165, allocations: 277.7 kB / 0.7516 GB, free: 33.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.5166, allocations: 54.3 kB / 0.7516 GB, free: 33.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5167, allocations: 74.41 kB / 0.7517 GB, free: 33.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.5167, allocations: 358.2 kB / 0.752 GB, free: 33.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.5169, allocations: 81.31 kB / 0.7521 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.5172, allocations: 205.5 kB / 0.7523 GB, free: 33.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.5176, allocations: 237.1 kB / 0.7525 GB, free: 33.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5176, allocations: 0.5625 kB / 0.7525 GB, free: 33.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006077/0.5182, allocations: 314.9 kB / 0.7528 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5182, allocations: 9.469 kB / 0.7529 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5182, allocations: 3.094 kB / 0.7529 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5182, allocations: 6.359 kB / 0.7529 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.5185, allocations: 63.58 kB / 0.7529 GB, free: 33.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5185, allocations: 8.781 kB / 0.7529 GB, free: 33.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.5188, allocations: 48.7 kB / 0.753 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.5189, allocations: 13 kB / 0.753 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002838/0.5191, allocations: 215.1 kB / 0.7532 GB, free: 33.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002391/0.5194, allocations: 213.8 kB / 0.7534 GB, free: 33.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003392/0.5197, allocations: 231.2 kB / 0.7536 GB, free: 32.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.654e-06/0.5197, allocations: 1.25 kB / 0.7536 GB, free: 32.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005051/0.5202, allocations: 306.7 kB / 0.7539 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.5202, allocations: 6.594 kB / 0.7539 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.5202, allocations: 2.938 kB / 0.7539 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.5202, allocations: 7.844 kB / 0.7539 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.5204, allocations: 66.56 kB / 0.754 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5205, allocations: 4.781 kB / 0.754 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.5208, allocations: 49.2 kB / 0.754 GB, free: 32.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.5208, allocations: 11.45 kB / 0.7541 GB, free: 32.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 7.202e-05/0.5209, allocations: 203.1 kB / 0.7543 GB, free: 32.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.5209, allocations: 54.31 kB / 0.7543 GB, free: 32.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.5214, allocations: 267.5 kB / 0.7546 GB, free: 32.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5214, allocations: 2.594 kB / 0.7546 GB, free: 32.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5214, allocations: 0.5625 kB / 0.7546 GB, free: 32.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5215, allocations: 0.6562 kB / 0.7546 GB, free: 32.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.5224, allocations: 0.7078 MB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5224, allocations: 1.25 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.5225, allocations: 29.77 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5225, allocations: 2.125 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5225, allocations: 7.141 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5225, allocations: 2.625 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5225, allocations: 5.25 kB / 0.7553 GB, free: 32.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.5229, allocations: 356.2 kB / 0.7556 GB, free: 32.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.523, allocations: 66.42 kB / 0.7557 GB, free: 32.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5231, allocations: 3.141 kB / 0.7557 GB, free: 32.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5233, allocations: 14.27 kB / 0.7557 GB, free: 32.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.5233, allocations: 21.31 kB / 0.7557 GB, free: 32.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.5233, allocations: 12.5 kB / 0.7558 GB, free: 32.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004204/0.5238, allocations: 418.1 kB / 0.7562 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5238, allocations: 0 / 0.7562 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006861/0.5244, allocations: 233.9 kB / 0.7564 GB, free: 31.95 MB / 0.5606 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 (17): * Single equations (assignments): 15 * 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.001437/0.5259, allocations: 0.4961 MB / 0.7569 GB, free: 31.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006864/0.5266, allocations: 307.9 kB / 0.7572 GB, free: 31.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5266, allocations: 1.031 kB / 0.7572 GB, free: 31.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.5268, allocations: 83.67 kB / 0.7572 GB, free: 31.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5278, allocations: 243 kB / 0.7575 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.529, allocations: 0.8143 MB / 0.7583 GB, free: 31.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.5293, allocations: 0.8476 MB / 0.7591 GB, free: 30.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.5296, allocations: 106 kB / 0.7592 GB, free: 30.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.5296, allocations: 36.77 kB / 0.7592 GB, free: 30.44 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.5296, allocations: 0 / 0.7592 GB, free: 30.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.01835/0.548, allocations: 10.42 MB / 0.7694 GB, free: 28.79 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.774481201544404] Failed to read output from testmodel.py, exit status != 0: 0.5563808875158429 0.5648821900000001 0.356362495 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8aa6cf57b0>