Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.457 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.001043/0.001043, allocations: 176.9 kB / 366.7 MB, free: 1.707 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.377/1.377, allocations: 205.3 MB / 0.626 GB, free: 7.188 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.0009892/0.0009886, allocations: 92.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.563e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5751, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9232/1.498, allocations: 403.5 MB / 1.367 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.499, allocations: 91.2 kB / 1.367 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3108/1.809, allocations: 173.9 MB / 1.537 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/1.81, allocations: 4 kB / 1.537 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.351e-05/1.81, allocations: 16 kB / 1.537 GB, free: 8.254 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001108/1.811, allocations: 0.7746 MB / 1.538 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.811, allocations: 8.031 kB / 1.538 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/1.811, allocations: 63.3 kB / 1.538 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/1.812, allocations: 451.6 kB / 1.538 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.812, allocations: 8 kB / 1.538 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/1.812, allocations: 20 kB / 1.539 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002638/1.812, allocations: 145 kB / 1.539 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/1.812, allocations: 229.2 kB / 1.539 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.812, allocations: 11.92 kB / 1.539 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/1.812, allocations: 0 / 1.539 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/1.812, allocations: 8 kB / 1.539 GB, free: 6.449 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.001749/1.814, allocations: 1.44 MB / 1.54 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/1.814, allocations: 138.7 kB / 1.54 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/1.814, allocations: 64.94 kB / 1.54 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.816, allocations: 1.288 MB / 1.542 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/1.816, allocations: 38.56 kB / 1.542 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/1.816, allocations: 0 / 1.542 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004334/1.816, allocations: 179 kB / 1.542 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.816, allocations: 55.41 kB / 1.542 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/1.817, allocations: 465.2 kB / 1.542 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/1.817, allocations: 29.7 kB / 1.542 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/1.817, allocations: 268.2 kB / 1.543 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/1.817, allocations: 51.3 kB / 1.543 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/1.817, allocations: 0 / 1.543 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.817, allocations: 354.8 kB / 1.543 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/1.817, allocations: 52.55 kB / 1.543 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/1.818, allocations: 209 kB / 1.543 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/1.818, allocations: 102.1 kB / 1.543 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.818, allocations: 4 kB / 1.543 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005143/1.818, allocations: 269 kB / 1.544 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/1.819, allocations: 0.9684 MB / 1.545 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.819, allocations: 0 / 1.545 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.819, allocations: 4 kB / 1.545 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/1.819, allocations: 63.91 kB / 1.545 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.819, allocations: 4 kB / 1.545 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/1.819, allocations: 43.72 kB / 1.545 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/1.819, allocations: 16 kB / 1.545 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/1.819, allocations: 4 kB / 1.545 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003847/1.82, allocations: 190 kB / 1.545 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.82, allocations: 12.19 kB / 1.545 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/1.82, allocations: 4 kB / 1.545 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.82, allocations: 67.91 kB / 1.545 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.82, allocations: 4 kB / 1.545 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/1.82, allocations: 35.75 kB / 1.545 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/1.82, allocations: 23.98 kB / 1.545 GB, free: 15.56 MB / 0.8855 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/1.82, allocations: 112.9 kB / 1.545 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/1.82, allocations: 47.44 kB / 1.545 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/1.821, allocations: 229.5 kB / 1.545 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.821, allocations: 3.953 kB / 1.545 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.821, allocations: 0 / 1.545 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/1.821, allocations: 4 kB / 1.545 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/1.822, allocations: 0.6738 MB / 1.546 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.822, allocations: 4 kB / 1.546 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.822, allocations: 39.86 kB / 1.546 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.822, allocations: 7.938 kB / 1.546 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/1.822, allocations: 8.125 kB / 1.546 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.822, allocations: 0 / 1.546 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.822, allocations: 0 / 1.546 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/1.823, allocations: 373 kB / 1.547 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/1.823, allocations: 152.5 kB / 1.547 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.823, allocations: 4 kB / 1.547 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/1.823, allocations: 15.98 kB / 1.547 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/1.823, allocations: 19.98 kB / 1.547 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/1.823, allocations: 8 kB / 1.547 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003632/1.823, allocations: 358.9 kB / 1.547 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/1.823, allocations: 0 / 1.547 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008223/1.824, allocations: 263.4 kB / 1.547 GB, free: 13.13 MB / 0.8855 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 (17): * Single equations (assignments): 15 * 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.001086/1.825, allocations: 0.5575 MB / 1.548 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004648/1.826, allocations: 288.7 kB / 1.548 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.826, allocations: 1 kB / 1.548 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/1.826, allocations: 75.86 kB / 1.548 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.827, allocations: 228.9 kB / 1.548 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/1.828, allocations: 0.5506 MB / 1.549 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/1.828, allocations: 0.8592 MB / 1.55 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000493/1.829, allocations: 171.9 kB / 1.55 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/1.829, allocations: 27.44 kB / 1.55 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/1.829, allocations: 4 kB / 1.55 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of Templates: time 0.01558/1.845, allocations: 9.923 MB / 1.56 GB, free: 0.5625 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)