Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001195/0.001195, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.39/1.39, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000835/0.0008347, allocations: 96.02 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.403e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5537, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/1.445, allocations: 399 MB / 1.363 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.445, allocations: 95 kB / 1.363 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3062/1.752, allocations: 173.5 MB / 1.532 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/1.752, allocations: 3.938 kB / 1.532 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.382e-05/1.752, allocations: 16 kB / 1.532 GB, free: 13.23 MB / 0.8698 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.001125/1.753, allocations: 0.7318 MB / 1.533 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.753, allocations: 12.03 kB / 1.533 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/1.753, allocations: 59.3 kB / 1.533 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/1.754, allocations: 431.6 kB / 1.534 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.754, allocations: 8 kB / 1.534 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/1.754, allocations: 19.94 kB / 1.534 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002441/1.754, allocations: 124.8 kB / 1.534 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/1.754, allocations: 162.4 kB / 1.534 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.754, allocations: 0 / 1.534 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/1.754, allocations: 3.984 kB / 1.534 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.754, allocations: 7.953 kB / 1.534 GB, free: 11.59 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001428/1.756, allocations: 0.8793 MB / 1.535 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/1.756, allocations: 122.5 kB / 1.535 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/1.756, allocations: 52.84 kB / 1.535 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/1.756, allocations: 340.5 kB / 1.535 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.756, allocations: 30.56 kB / 1.535 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/1.756, allocations: 0 / 1.535 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0004004/1.757, allocations: 163.1 kB / 1.535 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/1.757, allocations: 55.39 kB / 1.535 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/1.757, allocations: 357.3 kB / 1.536 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.757, allocations: 29.7 kB / 1.536 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.757, allocations: 236.9 kB / 1.536 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/1.757, allocations: 51.23 kB / 1.536 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.757, allocations: 0 / 1.536 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.757, allocations: 346.8 kB / 1.536 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/1.758, allocations: 48 kB / 1.537 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/1.758, allocations: 156.3 kB / 1.537 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.758, allocations: 73.14 kB / 1.537 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.758, allocations: 0 / 1.537 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000384/1.758, allocations: 217 kB / 1.537 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.758, allocations: 276.2 kB / 1.537 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.758, allocations: 3.984 kB / 1.537 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.758, allocations: 4 kB / 1.537 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.759, allocations: 51.97 kB / 1.537 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.759, allocations: 11.88 kB / 1.537 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/1.759, allocations: 35.81 kB / 1.537 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/1.759, allocations: 12 kB / 1.537 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/1.759, allocations: 4 kB / 1.537 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003012/1.759, allocations: 149.5 kB / 1.537 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/1.759, allocations: 48 / 1.537 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/1.759, allocations: 7.984 kB / 1.537 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.76, allocations: 43.97 kB / 1.538 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-06/1.76, allocations: 0 / 1.538 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.76, allocations: 43.8 kB / 1.538 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/1.76, allocations: 12 kB / 1.538 GB, free: 7.57 MB / 0.8698 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 () * 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 8.207e-05/1.76, allocations: 112.9 kB / 1.538 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/1.76, allocations: 35.53 kB / 1.538 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/1.761, allocations: 213 kB / 1.538 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.761, allocations: 8 kB / 1.538 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.761, allocations: 0 / 1.538 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.761, allocations: 3.984 kB / 1.538 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/1.761, allocations: 0.6191 MB / 1.539 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.761, allocations: 4 kB / 1.539 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.762, allocations: 36.05 kB / 1.539 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.762, allocations: 0 / 1.539 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.762, allocations: 4 kB / 1.539 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.762, allocations: 0 / 1.539 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.762, allocations: 4 kB / 1.539 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/1.762, allocations: 358.9 kB / 1.539 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.762, allocations: 144.5 kB / 1.539 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.762, allocations: 4 kB / 1.539 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.762, allocations: 23.97 kB / 1.539 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/1.762, allocations: 15.98 kB / 1.539 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.763, allocations: 4 kB / 1.539 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002629/1.763, allocations: 282.9 kB / 1.539 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.763, allocations: 0 / 1.539 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007003/1.763, allocations: 223.5 kB / 1.54 GB, free: 5.371 MB / 0.8698 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 () * 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.001079/1.765, allocations: 0.5159 MB / 1.54 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003854/1.765, allocations: 230.2 kB / 1.54 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.765, allocations: 4 kB / 1.54 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/1.765, allocations: 71.84 kB / 1.54 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.766, allocations: 202.3 kB / 1.541 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/1.767, allocations: 483.8 kB / 1.541 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.767, allocations: 0.839 MB / 1.542 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003748/1.768, allocations: 119.1 kB / 1.542 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/1.768, allocations: 23.44 kB / 1.542 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/1.768, allocations: 0 / 1.542 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of Templates: time 0.01343/1.781, allocations: 8.439 MB / 1.55 GB, free: 10.55 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)