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.001311/0.001311, allocations: 80.81 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.001581/0.001581, allocations: 173 kB / 23.36 MB, free: 1.133 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.9611/0.9611, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001673/0.001673, allocations: 246.1 kB / 260.5 MB, free: 12.69 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.7151/0.7151, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.573e-06/1.573e-06, allocations: 0 / 462.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.068e-05, allocations: 3.078 kB / 462.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.007806/0.007827, allocations: 7.451 MB / 469.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.01207, allocations: 3.32 MB / 473.1 MB, free: 7.891 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.01244, allocations: 21 kB / 473.1 MB, free: 7.871 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.01303, allocations: 206.5 kB / 473.4 MB, free: 7.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.01385, allocations: 484.2 kB / 473.8 MB, free: 7.199 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.01531, allocations: 0.7288 MB / 474.6 MB, free: 6.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.01636, allocations: 1.038 MB / 475.6 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.01681, allocations: 276.7 kB / 475.9 MB, free: 5.172 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.01744, allocations: 0.5143 MB / 476.4 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.01775, allocations: 268.7 kB / 476.6 MB, free: 4.395 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.01779, allocations: 28 kB / 476.7 MB, free: 4.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.01845, allocations: 495.7 kB / 477.1 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.01854, allocations: 103.5 kB / 477.2 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.01866, allocations: 148.5 kB / 477.4 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.01932, allocations: 0.615 MB / 478 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01932, allocations: 0 / 478 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01932, allocations: 1.406 kB / 478 MB, free: 3.016 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.01933, allocations: 0 / 478 MB, free: 3.016 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.0007297/0.02006, allocations: 0.7362 MB / 478.7 MB, free: 2.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.02009, allocations: 10.72 kB / 478.8 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.02015, allocations: 52.88 kB / 478.8 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.02053, allocations: 341.6 kB / 479.1 MB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.02055, allocations: 17.97 kB / 479.2 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.02057, allocations: 31.94 kB / 479.2 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.02077, allocations: 151.6 kB / 479.3 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.02078, allocations: 5.562 kB / 479.3 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.02079, allocations: 8 kB / 479.4 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.02079, allocations: 4.719 kB / 479.4 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.02087, allocations: 51.41 kB / 479.4 MB, free: 1.574 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.0007481/0.02161, allocations: 0.4922 MB / 479.9 MB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.02172, allocations: 115.2 kB / 480 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.02175, allocations: 32.47 kB / 480 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.02182, allocations: 11.98 kB / 480.1 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.02184, allocations: 43.12 kB / 480.1 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.02185, allocations: 0 / 480.1 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001799/0.02203, allocations: 109.4 kB / 480.2 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.02205, allocations: 51.41 kB / 480.3 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.0223, allocations: 384.9 kB / 480.6 MB, free: 292 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.02232, allocations: 37.64 kB / 480.7 MB, free: 248 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.0224, allocations: 181.5 kB / 480.8 MB, free: 64 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.02243, allocations: 55.52 kB / 480.9 MB, free: 8 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.0225, allocations: 58.39 kB / 481 MB, free: 15.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003433/0.02284, allocations: 354.7 kB / 481.3 MB, free: 15.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.02289, allocations: 25.64 kB / 481.3 MB, free: 15.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.02303, allocations: 348.7 kB / 481.7 MB, free: 15.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.02312, allocations: 91.77 kB / 481.8 MB, free: 15.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02313, allocations: 0 / 481.8 MB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001589/0.02328, allocations: 133.4 kB / 481.9 MB, free: 14.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.0233, allocations: 13.19 kB / 481.9 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.0233, allocations: 0 / 481.9 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.02332, allocations: 0 / 481.9 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.02345, allocations: 45.19 kB / 481.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.02345, allocations: 4 kB / 481.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.02356, allocations: 27.83 kB / 482 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02358, allocations: 9 kB / 482 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.773e-05/0.02367, allocations: 114.4 kB / 482.1 MB, free: 14.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001399/0.02381, allocations: 364.3 kB / 482.5 MB, free: 14.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.467e-05/0.02389, allocations: 100.3 kB / 482.5 MB, free: 14.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.02389, allocations: 0 / 482.5 MB, free: 14.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001427/0.02404, allocations: 137.2 kB / 482.7 MB, free: 13.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.02404, allocations: 8 kB / 482.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.02404, allocations: 1.344 kB / 482.7 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.02405, allocations: 7.938 kB / 482.7 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.02415, allocations: 45.03 kB / 482.7 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.02415, allocations: 4.844 kB / 482.7 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.02427, allocations: 29.05 kB / 482.8 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.02428, allocations: 8.969 kB / 482.8 MB, free: 13.89 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 7.666e-05/0.02436, allocations: 188.3 kB / 483 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.02439, allocations: 33.66 kB / 483 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.02459, allocations: 144.3 kB / 483.1 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.0246, allocations: 8 kB / 483.2 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.0246, allocations: 0.5625 kB / 483.2 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02461, allocations: 1.75 kB / 483.2 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.02502, allocations: 0.4979 MB / 483.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02502, allocations: 1.969 kB / 483.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.02509, allocations: 28.55 kB / 483.7 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02509, allocations: 4 kB / 483.7 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.0251, allocations: 4 kB / 483.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.0251, allocations: 4 kB / 483.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0251, allocations: 2.312 kB / 483.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.02528, allocations: 296.8 kB / 484 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.02534, allocations: 53.11 kB / 484 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.02537, allocations: 4 kB / 484 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.02545, allocations: 11.67 kB / 484.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.02549, allocations: 15.98 kB / 484.1 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.0255, allocations: 7.984 kB / 484.1 MB, free: 12.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.02562, allocations: 163.5 kB / 484.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02562, allocations: 0 / 484.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.026, allocations: 199.5 kB / 484.4 MB, free: 12.17 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.001053/0.02705, allocations: 0.5072 MB / 484.9 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.02727, allocations: 131.1 kB / 485.1 MB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.02728, allocations: 8 kB / 485.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.02733, allocations: 49.83 kB / 485.1 MB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.02781, allocations: 186.7 kB / 485.3 MB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02881, allocations: 0.6812 MB / 486 MB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.02888, allocations: 110.4 kB / 486.1 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.02905, allocations: 69.17 kB / 486.2 MB, free: 10.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.02931, allocations: 176.9 kB / 486.3 MB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02931, allocations: 3.938 kB / 486.3 MB, free: 10.51 MB / 442.7 MB Notification: Performance of Templates: time 0.01108/0.0404, allocations: 8.347 MB / 494.7 MB, free: 2.703 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.735324307810515]