Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.3 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 177 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.6306 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000907/0.000907, allocations: 93.12 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004222, allocations: 15 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2127, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8437/1.056, allocations: 398.7 MB / 1.369 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.057, allocations: 102.6 kB / 1.369 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8057/1.863, allocations: 175.3 MB / 1.54 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.004e-06/1.863, allocations: 0 / 1.54 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.444e-05/1.863, allocations: 19.98 kB / 1.54 GB, free: 249.2 MB / 0.9323 GB 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.001805/1.865, allocations: 0.8189 MB / 1.541 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.865, allocations: 8.031 kB / 1.541 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/1.865, allocations: 55.39 kB / 1.541 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009228/1.866, allocations: 437.3 kB / 1.541 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/1.866, allocations: 20.44 kB / 1.541 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/1.866, allocations: 28 kB / 1.541 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/1.866, allocations: 215.2 kB / 1.542 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.866, allocations: 0 / 1.542 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/1.866, allocations: 4 kB / 1.542 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/1.866, allocations: 4 kB / 1.542 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/1.867, allocations: 181.6 kB / 1.542 GB, free: 247.3 MB / 0.9323 GB 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.001891/1.869, allocations: 0.9497 MB / 1.543 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/1.869, allocations: 138.5 kB / 1.543 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/1.869, allocations: 340.4 kB / 1.543 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.869, allocations: 38.56 kB / 1.543 GB, free: 245.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/1.869, allocations: 0 / 1.543 GB, free: 245.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0007816/1.87, allocations: 245.2 kB / 1.543 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.87, allocations: 59.41 kB / 1.544 GB, free: 245.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/1.871, allocations: 409.2 kB / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.871, allocations: 29.7 kB / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/1.871, allocations: 236.6 kB / 1.544 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/1.871, allocations: 55.27 kB / 1.544 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/1.871, allocations: 8 kB / 1.544 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/1.871, allocations: 346.8 kB / 1.545 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/1.871, allocations: 71.95 kB / 1.545 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/1.872, allocations: 173.4 kB / 1.545 GB, free: 244 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/1.872, allocations: 93.73 kB / 1.545 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.872, allocations: 0 / 1.545 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006457/1.873, allocations: 261 kB / 1.545 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/1.873, allocations: 272 kB / 1.545 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.873, allocations: 0 / 1.545 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.873, allocations: 7.953 kB / 1.545 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.873, allocations: 51.91 kB / 1.545 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.873, allocations: 4 kB / 1.545 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/1.874, allocations: 55.64 kB / 1.545 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.874, allocations: 8 kB / 1.545 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.874, allocations: 7.938 kB / 1.546 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005047/1.874, allocations: 181.2 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/1.874, allocations: 7.984 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/1.874, allocations: 4 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/1.875, allocations: 51.91 kB / 1.546 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/1.875, allocations: 0 / 1.546 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/1.875, allocations: 51.72 kB / 1.546 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/1.875, allocations: 8 kB / 1.546 GB, free: 243 MB / 0.9323 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002216/1.875, allocations: 245 kB / 1.546 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/1.876, allocations: 39.53 kB / 1.546 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/1.876, allocations: 261 kB / 1.546 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.876, allocations: 4 kB / 1.546 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.876, allocations: 0 / 1.546 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.876, allocations: 0 / 1.546 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.878, allocations: 0.7124 MB / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.878, allocations: 4 kB / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.878, allocations: 31.98 kB / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.878, allocations: 12.11 kB / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.878, allocations: 0 / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.878, allocations: 7.984 kB / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.878, allocations: 0 / 1.547 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/1.878, allocations: 405.1 kB / 1.547 GB, free: 241.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/1.879, allocations: 148.4 kB / 1.548 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/1.879, allocations: 12 kB / 1.548 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/1.879, allocations: 19.97 kB / 1.548 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/1.879, allocations: 19.92 kB / 1.548 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.879, allocations: 4 kB / 1.548 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004281/1.88, allocations: 330.9 kB / 1.548 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/1.88, allocations: 0 / 1.548 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001104/1.881, allocations: 235.6 kB / 1.548 GB, free: 240.4 MB / 0.9323 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/1.882, allocations: 0.5679 MB / 1.549 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008226/1.883, allocations: 279.7 kB / 1.549 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.883, allocations: 0 / 1.549 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/1.883, allocations: 91.83 kB / 1.549 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.885, allocations: 237.5 kB / 1.549 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.886, allocations: 0.8318 MB / 1.55 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/1.887, allocations: 0.8311 MB / 1.551 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004705/1.887, allocations: 99.14 kB / 1.551 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.887, allocations: 35.44 kB / 1.551 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of SimCode: time 6.71e-07/1.887, allocations: 3.938 kB / 1.551 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02029/1.908, allocations: 9.306 MB / 1.56 GB, free: 228.3 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)