Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001/0.001, allocations: 80.75 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.001026/0.001026, allocations: 181 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 1.071/1.071, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001758/0.001758, allocations: 253.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.734/0.734, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.197e-05, allocations: 3.516 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006538/0.00655, allocations: 7.576 MB / 469.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.009838, allocations: 3.199 MB / 473.1 MB, free: 7.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.01003, allocations: 23.81 kB / 473.2 MB, free: 7.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.01056, allocations: 195.5 kB / 473.4 MB, free: 7.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.01121, allocations: 0.4939 MB / 473.8 MB, free: 7.145 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.01209, allocations: 0.7332 MB / 474.6 MB, free: 6.418 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.0128, allocations: 0.9825 MB / 475.6 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.0131, allocations: 292.3 kB / 475.9 MB, free: 5.141 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.01357, allocations: 487.3 kB / 476.3 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.01383, allocations: 271.9 kB / 476.6 MB, free: 4.398 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.01387, allocations: 28 kB / 476.6 MB, free: 4.371 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.01444, allocations: 0.5433 MB / 477.2 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.01454, allocations: 147.4 kB / 477.3 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01465, allocations: 155.5 kB / 477.5 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.01528, allocations: 0.6904 MB / 478.1 MB, free: 2.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01529, allocations: 0 / 478.1 MB, free: 2.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01529, allocations: 0 / 478.1 MB, free: 2.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01529, allocations: 3.984 kB / 478.2 MB, free: 2.832 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007106/0.016, allocations: 0.7753 MB / 478.9 MB, free: 2.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.01603, allocations: 8.75 kB / 478.9 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.01616, allocations: 65.59 kB / 479 MB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.01655, allocations: 372.8 kB / 479.4 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01657, allocations: 20.88 kB / 479.4 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.01659, allocations: 28.38 kB / 479.4 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.01682, allocations: 239 kB / 479.6 MB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01683, allocations: 0 / 479.6 MB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.01684, allocations: 12 kB / 479.7 MB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01685, allocations: 4 kB / 479.7 MB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.01694, allocations: 74.17 kB / 479.7 MB, free: 1.191 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.0008548/0.01779, allocations: 0.918 MB / 480.7 MB, free: 248 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.01792, allocations: 134.5 kB / 480.8 MB, free: 104 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.01796, allocations: 40.16 kB / 480.8 MB, free: 60 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.01854, allocations: 483.5 kB / 481.3 MB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01856, allocations: 38.5 kB / 481.3 MB, free: 15.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.01856, allocations: 1.25 kB / 481.3 MB, free: 15.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001926/0.01875, allocations: 153.5 kB / 481.5 MB, free: 15.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.01878, allocations: 55.34 kB / 481.5 MB, free: 15.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.01907, allocations: 456.8 kB / 482 MB, free: 14.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01909, allocations: 34.2 kB / 482 MB, free: 14.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.01919, allocations: 218.6 kB / 482.2 MB, free: 14.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.01922, allocations: 51.52 kB / 482.3 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.01929, allocations: 78.52 kB / 482.4 MB, free: 14.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01939, allocations: 358.6 kB / 482.7 MB, free: 14.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.01943, allocations: 33.83 kB / 482.7 MB, free: 14.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.01959, allocations: 370.1 kB / 483.1 MB, free: 13.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.01972, allocations: 157.6 kB / 483.3 MB, free: 13.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01972, allocations: 0.7812 kB / 483.3 MB, free: 13.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001827/0.0199, allocations: 184.5 kB / 483.4 MB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.01992, allocations: 8.594 kB / 483.4 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01992, allocations: 4 kB / 483.4 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01993, allocations: 11.47 kB / 483.5 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.02007, allocations: 65.55 kB / 483.5 MB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.02008, allocations: 4 kB / 483.5 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.0202, allocations: 39.7 kB / 483.6 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.02022, allocations: 8 kB / 483.6 MB, free: 13.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.88e-05/0.02031, allocations: 119.2 kB / 483.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001469/0.02045, allocations: 365.9 kB / 484 MB, free: 12.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001167/0.02057, allocations: 161.9 kB / 484.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.02057, allocations: 0 / 484.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0001791/0.02075, allocations: 190.7 kB / 484.4 MB, free: 12.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/0.02076, allocations: 4 kB / 484.4 MB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.02076, allocations: 6.562 kB / 484.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/0.02076, allocations: 4 kB / 484.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.02088, allocations: 63.91 kB / 484.5 MB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.02088, allocations: 4 kB / 484.5 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.021, allocations: 28.62 kB / 484.5 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.02101, allocations: 8 kB / 484.5 MB, free: 12.02 MB / 442.7 MB 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.482e-05/0.02109, allocations: 212.6 kB / 484.7 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.02113, allocations: 29.16 kB / 484.7 MB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.02133, allocations: 151.5 kB / 484.9 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02133, allocations: 3.984 kB / 484.9 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.02133, allocations: 0.5938 kB / 484.9 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02134, allocations: 4.906 kB / 484.9 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.02174, allocations: 0.5119 MB / 485.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02175, allocations: 1.375 kB / 485.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.02181, allocations: 37.67 kB / 485.5 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.02181, allocations: 0 / 485.5 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.02182, allocations: 7.984 kB / 485.5 MB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.02182, allocations: 7.938 kB / 485.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02183, allocations: 0 / 485.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.02198, allocations: 289.4 kB / 485.8 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.02205, allocations: 60.89 kB / 485.8 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.02207, allocations: 0 / 485.8 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.02215, allocations: 15.92 kB / 485.8 MB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.02219, allocations: 18.3 kB / 485.8 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.0222, allocations: 7.984 kB / 485.9 MB, free: 10.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.02235, allocations: 203.2 kB / 486.1 MB, free: 10.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02235, allocations: 0 / 486.1 MB, free: 10.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.02272, allocations: 219.5 kB / 486.3 MB, free: 10.19 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 (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.001103/0.02382, allocations: 0.5208 MB / 486.8 MB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.02405, allocations: 201.7 kB / 487 MB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.02406, allocations: 4 kB / 487 MB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/0.02411, allocations: 41.34 kB / 487 MB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.02468, allocations: 228 kB / 487.2 MB, free: 9.504 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.02566, allocations: 0.7509 MB / 488 MB, free: 8.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.515e-05/0.02574, allocations: 121.5 kB / 488.1 MB, free: 8.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.0259, allocations: 74.05 kB / 488.2 MB, free: 8.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.02618, allocations: 199.5 kB / 488.4 MB, free: 8.324 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02618, allocations: 0 / 488.4 MB, free: 8.324 MB / 442.7 MB Notification: Performance of Templates: time 0.01118/0.03737, allocations: 10.37 MB / 498.8 MB, free: 14.52 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823946511838585]