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.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.001782/0.001782, allocations: 105 kB / 20.45 MB, free: 1.5 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.00214/0.00214, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.992 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 0.9799/0.9799, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 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.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: 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.002059/0.002059, allocations: 70.27 kB / 0.6425 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.21, allocations: 89.16 MB / 0.7296 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02238/0.2323, allocations: 17.88 MB / 0.747 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009042/0.2414, allocations: 5.077 MB / 0.752 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/0.2423, allocations: 19.81 kB / 0.752 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.2435, allocations: 274.3 kB / 0.7523 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.2457, allocations: 0.6764 MB / 0.7529 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.2483, allocations: 0.7438 MB / 0.7537 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.2502, allocations: 0.9858 MB / 0.7546 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007172/0.2509, allocations: 289.5 kB / 0.7549 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.2521, allocations: 490.1 kB / 0.7554 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.2528, allocations: 326.6 kB / 0.7557 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.253, allocations: 32 kB / 0.7557 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.2547, allocations: 0.7564 MB / 0.7564 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.2549, allocations: 139.5 kB / 0.7566 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.2553, allocations: 246.6 kB / 0.7568 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.2575, allocations: 0.8912 MB / 0.7577 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2576, allocations: 0 / 0.7577 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2576, allocations: 0 / 0.7577 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.717e-05/0.2576, allocations: 0 / 0.7577 GB, free: 3.879 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001906/0.2595, allocations: 0.8267 MB / 0.7585 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2595, allocations: 8.031 kB / 0.7585 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.2598, allocations: 64.56 kB / 0.7586 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2608, allocations: 410 kB / 0.759 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.2609, allocations: 24.5 kB / 0.759 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.2609, allocations: 28 kB / 0.759 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.2615, allocations: 285.3 kB / 0.7593 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2616, allocations: 3.938 kB / 0.7593 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.2616, allocations: 8 kB / 0.7593 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2616, allocations: 8 kB / 0.7593 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2621, allocations: 189.8 kB / 0.7595 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.2644, allocations: 1.441 MB / 0.7609 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.2648, allocations: 154.8 kB / 0.761 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.265, allocations: 80.78 kB / 0.7611 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3186/0.5836, allocations: 0.571 MB / 0.7617 GB, free: 36.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.5836, allocations: 33.23 kB / 0.7617 GB, free: 36.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.5836, allocations: 0 / 0.7617 GB, free: 36.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006426/0.5843, allocations: 254.9 kB / 0.7619 GB, free: 36.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5843, allocations: 56.89 kB / 0.762 GB, free: 36.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.5849, allocations: 0.5882 MB / 0.7626 GB, free: 36.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5849, allocations: 31.45 kB / 0.7626 GB, free: 36.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5851, allocations: 277.9 kB / 0.7629 GB, free: 36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.5851, allocations: 57.06 kB / 0.7629 GB, free: 35.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.5852, allocations: 73.5 kB / 0.763 GB, free: 35.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.5853, allocations: 354.4 kB / 0.7633 GB, free: 35.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.5854, allocations: 81.39 kB / 0.7634 GB, free: 35.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.5857, allocations: 210.9 kB / 0.7636 GB, free: 35.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.586, allocations: 234.8 kB / 0.7638 GB, free: 35.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.586, allocations: 2.062 kB / 0.7638 GB, free: 35.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005341/0.5866, allocations: 309.7 kB / 0.7641 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5866, allocations: 8.719 kB / 0.7641 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5866, allocations: 6.125 kB / 0.7641 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5866, allocations: 2.906 kB / 0.7641 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.5868, allocations: 59.97 kB / 0.7642 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5869, allocations: 9.625 kB / 0.7642 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.5872, allocations: 54.06 kB / 0.7643 GB, free: 35.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5872, allocations: 12.16 kB / 0.7643 GB, free: 35.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000262/0.5875, allocations: 216.8 kB / 0.7645 GB, free: 35.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002199/0.5877, allocations: 217.7 kB / 0.7647 GB, free: 35.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003146/0.588, allocations: 227.6 kB / 0.7649 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.588, allocations: 0 / 0.7649 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004857/0.5885, allocations: 313 kB / 0.7652 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.5885, allocations: 5.844 kB / 0.7652 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.5885, allocations: 3.453 kB / 0.7652 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.5885, allocations: 6.031 kB / 0.7652 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.5887, allocations: 61.39 kB / 0.7653 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5887, allocations: 10.33 kB / 0.7653 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.589, allocations: 39.45 kB / 0.7653 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.589, allocations: 16.78 kB / 0.7653 GB, free: 34.98 MB / 0.5762 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 8.925e-05/0.5891, allocations: 197 kB / 0.7655 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.5892, allocations: 50.17 kB / 0.7656 GB, free: 34.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.5897, allocations: 267.1 kB / 0.7658 GB, free: 34.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5897, allocations: 3.312 kB / 0.7658 GB, free: 34.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5897, allocations: 3.938 kB / 0.7658 GB, free: 34.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5897, allocations: 3.984 kB / 0.7658 GB, free: 34.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/0.5906, allocations: 0.7157 MB / 0.7665 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5906, allocations: 1.078 kB / 0.7665 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5907, allocations: 37.3 kB / 0.7666 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5907, allocations: 0 / 0.7666 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5907, allocations: 6.5 kB / 0.7666 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5907, allocations: 0 / 0.7666 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5907, allocations: 2.562 kB / 0.7666 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.5911, allocations: 362 kB / 0.7669 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5913, allocations: 71.94 kB / 0.767 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.5913, allocations: 5.812 kB / 0.767 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5915, allocations: 8.812 kB / 0.767 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.5916, allocations: 21.55 kB / 0.767 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5916, allocations: 5.359 kB / 0.767 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004137/0.592, allocations: 424.6 kB / 0.7674 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.592, allocations: 2.406 kB / 0.7674 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006976/0.5927, allocations: 232.4 kB / 0.7677 GB, free: 34.11 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 (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.001531/0.5942, allocations: 482 kB / 0.7681 GB, free: 34.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006771/0.5949, allocations: 319.7 kB / 0.7684 GB, free: 34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5949, allocations: 0 / 0.7684 GB, free: 34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.5951, allocations: 82.44 kB / 0.7685 GB, free: 34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5962, allocations: 256.7 kB / 0.7688 GB, free: 33.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5975, allocations: 0.8549 MB / 0.7696 GB, free: 33.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5978, allocations: 0.844 MB / 0.7704 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.5979, allocations: 43.62 kB / 0.7705 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5979, allocations: 3.781 kB / 0.7705 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.01731/0.6152, allocations: 8.649 MB / 0.7789 GB, free: 31.91 MB / 0.5762 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: 10.486192818032578] Failed to read output from testmodel.py, exit status != 0: 0.6248771061655134 0.6360695399999999 0.37574809899999995 Calling exit ...