Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00091/0.00091, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000873/0.000873, allocations: 173 kB / 23.35 MB, free: 1.137 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.9699/0.9699, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001726/0.001726, allocations: 244.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6838/0.6838, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 3.938 kB / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.965e-05, allocations: 3.375 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.007219/0.007239, allocations: 7.412 MB / 469.7 MB, free: 11.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.01157, allocations: 3.322 MB / 473 MB, free: 7.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.01204, allocations: 24.72 kB / 473.1 MB, free: 7.887 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.01267, allocations: 195.1 kB / 473.3 MB, free: 7.695 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.01355, allocations: 494.1 kB / 473.7 MB, free: 7.215 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.01485, allocations: 0.7378 MB / 474.5 MB, free: 6.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01596, allocations: 1.037 MB / 475.5 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.01638, allocations: 299.7 kB / 475.8 MB, free: 5.156 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.01741, allocations: 0.5518 MB / 476.4 MB, free: 4.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.01777, allocations: 268 kB / 476.6 MB, free: 4.359 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.01781, allocations: 28 kB / 476.6 MB, free: 4.332 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.01846, allocations: 478.9 kB / 477.1 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.01855, allocations: 108.5 kB / 477.2 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.01867, allocations: 147.5 kB / 477.4 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.01937, allocations: 0.615 MB / 478 MB, free: 2.992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01937, allocations: 1 kB / 478 MB, free: 2.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01937, allocations: 0 / 478 MB, free: 2.992 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.01938, allocations: 0.625 kB / 478 MB, free: 2.992 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006925/0.02007, allocations: 0.7414 MB / 478.7 MB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.0201, allocations: 12.75 kB / 478.7 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.02016, allocations: 48.89 kB / 478.8 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.02051, allocations: 341.2 kB / 479.1 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.02053, allocations: 20.88 kB / 479.1 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.02056, allocations: 32.72 kB / 479.2 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.02073, allocations: 158.5 kB / 479.3 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.02074, allocations: 1.938 kB / 479.3 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.02075, allocations: 8 kB / 479.3 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.02076, allocations: 8 kB / 479.3 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.02083, allocations: 47.41 kB / 479.4 MB, free: 1.547 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.0215, allocations: 0.4914 MB / 479.9 MB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.02161, allocations: 109.3 kB / 480 MB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.02164, allocations: 33.55 kB / 480 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.02175, allocations: 17.39 kB / 480 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.02177, allocations: 37.19 kB / 480.1 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 9.31e-07/0.02177, allocations: 0 / 480.1 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001511/0.02192, allocations: 110 kB / 480.2 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.02194, allocations: 59.34 kB / 480.2 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.02216, allocations: 385.6 kB / 480.6 MB, free: 256 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.02218, allocations: 29.7 kB / 480.6 MB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.02225, allocations: 187.5 kB / 480.8 MB, free: 32 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.02228, allocations: 51.72 kB / 480.9 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.0224, allocations: 61.66 kB / 480.9 MB, free: 15.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.02248, allocations: 350.7 kB / 481.3 MB, free: 15.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.02252, allocations: 27.67 kB / 481.3 MB, free: 15.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.02264, allocations: 348.5 kB / 481.6 MB, free: 15.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.02272, allocations: 84.89 kB / 481.7 MB, free: 15.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.02273, allocations: 0 / 481.7 MB, free: 15.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001296/0.02286, allocations: 143.3 kB / 481.9 MB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.02287, allocations: 7.75 kB / 481.9 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.02287, allocations: 0.75 kB / 481.9 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.02288, allocations: 4 kB / 481.9 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.02299, allocations: 41.53 kB / 481.9 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.02299, allocations: 0 / 481.9 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.02309, allocations: 28.66 kB / 482 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.0231, allocations: 12.58 kB / 482 MB, free: 14.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.676e-05/0.02318, allocations: 114.3 kB / 482.1 MB, free: 14.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001226/0.0233, allocations: 355.3 kB / 482.4 MB, free: 14.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.557e-05/0.02338, allocations: 102.6 kB / 482.5 MB, free: 14.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.02338, allocations: 0 / 482.5 MB, free: 14.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002565/0.02364, allocations: 138.6 kB / 482.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.02364, allocations: 8 kB / 482.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.02364, allocations: 5.156 kB / 482.7 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.02365, allocations: 4 kB / 482.7 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.02373, allocations: 43.91 kB / 482.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.02373, allocations: 1.594 kB / 482.7 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.02383, allocations: 27.88 kB / 482.7 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.02384, allocations: 8.656 kB / 482.8 MB, free: 13.87 MB / 442.7 MB 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 6.5e-05/0.0239, allocations: 193.2 kB / 482.9 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.02393, allocations: 36.69 kB / 483 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.02411, allocations: 142.7 kB / 483.1 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.02411, allocations: 0 / 483.1 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.02412, allocations: 0 / 483.1 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02412, allocations: 5.359 kB / 483.1 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.02449, allocations: 0.5004 MB / 483.6 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.0245, allocations: 0 / 483.6 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.02455, allocations: 31.92 kB / 483.7 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.02455, allocations: 4.688 kB / 483.7 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.02456, allocations: 0 / 483.7 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02456, allocations: 4.5 kB / 483.7 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02456, allocations: 2.531 kB / 483.7 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.0247, allocations: 298.4 kB / 484 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.02476, allocations: 52.61 kB / 484 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.02478, allocations: 7.984 kB / 484 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.02485, allocations: 5.75 kB / 484 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.02488, allocations: 19.97 kB / 484 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.02489, allocations: 4 kB / 484 MB, free: 12.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.025, allocations: 163.5 kB / 484.2 MB, free: 12.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.025, allocations: 0 / 484.2 MB, free: 12.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.02533, allocations: 200.1 kB / 484.4 MB, free: 12.16 MB / 442.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 (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.0009964/0.02632, allocations: 0.498 MB / 484.9 MB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.02651, allocations: 143.5 kB / 485 MB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.02652, allocations: 4 kB / 485 MB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.02656, allocations: 49.45 kB / 485.1 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.02698, allocations: 181.2 kB / 485.3 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.02785, allocations: 0.683 MB / 486 MB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.02792, allocations: 114.3 kB / 486.1 MB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.02805, allocations: 68.05 kB / 486.1 MB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.02828, allocations: 176.3 kB / 486.3 MB, free: 10.49 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02828, allocations: 1.25 kB / 486.3 MB, free: 10.49 MB / 442.7 MB Notification: Performance of Templates: time 0.0102/0.03848, allocations: 8.356 MB / 494.7 MB, free: 2.684 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7292564837262034]