Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.644/1.644, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 178.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007691/0.0007691, allocations: 94.72 kB / 0.7808 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 16.62 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5292, allocations: 120.3 MB / 1.026 GB, free: 57.07 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7737/1.303, allocations: 388.9 MB / 1.406 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.303, allocations: 97.75 kB / 1.406 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2998/1.603, allocations: 177.7 MB / 1.58 GB, free: 19.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/1.603, allocations: 4 kB / 1.58 GB, free: 19.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.651e-05/1.603, allocations: 12 kB / 1.58 GB, free: 19.8 MB / 0.8855 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.001332/1.604, allocations: 0.8216 MB / 1.581 GB, free: 18.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/1.604, allocations: 12.02 kB / 1.581 GB, free: 18.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/1.605, allocations: 56.38 kB / 1.581 GB, free: 18.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/1.605, allocations: 454.5 kB / 1.581 GB, free: 18.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.605, allocations: 20.81 kB / 1.581 GB, free: 18.35 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/1.605, allocations: 32.31 kB / 1.581 GB, free: 18.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/1.606, allocations: 215.4 kB / 1.581 GB, free: 18.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.606, allocations: 0 / 1.581 GB, free: 18.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.606, allocations: 12 kB / 1.581 GB, free: 18.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.606, allocations: 4 kB / 1.581 GB, free: 18.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/1.606, allocations: 169.6 kB / 1.582 GB, free: 17.92 MB / 0.8855 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.001298/1.607, allocations: 0.9536 MB / 1.582 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.608, allocations: 134.5 kB / 1.583 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/1.608, allocations: 71.08 kB / 1.583 GB, free: 16.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.608, allocations: 344.5 kB / 1.583 GB, free: 16.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/1.608, allocations: 38.48 kB / 1.583 GB, free: 16.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/1.608, allocations: 8 kB / 1.583 GB, free: 16.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0004973/1.608, allocations: 245.1 kB / 1.583 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/1.608, allocations: 59.41 kB / 1.583 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/1.609, allocations: 477.9 kB / 1.584 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.609, allocations: 29.7 kB / 1.584 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.609, allocations: 228.6 kB / 1.584 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/1.609, allocations: 39.36 kB / 1.584 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/1.609, allocations: 7.938 kB / 1.584 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/1.609, allocations: 354.8 kB / 1.584 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/1.609, allocations: 75.81 kB / 1.584 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/1.609, allocations: 175.1 kB / 1.585 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/1.61, allocations: 166.4 kB / 1.585 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.61, allocations: 0 / 1.585 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003984/1.61, allocations: 263.1 kB / 1.585 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.61, allocations: 102.7 kB / 1.585 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.61, allocations: 0 / 1.585 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.61, allocations: 8 kB / 1.585 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/1.61, allocations: 47.91 kB / 1.585 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.61, allocations: 4 kB / 1.585 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/1.611, allocations: 47.73 kB / 1.585 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/1.611, allocations: 20 kB / 1.585 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/1.611, allocations: 4 kB / 1.585 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003306/1.611, allocations: 193.6 kB / 1.585 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/1.611, allocations: 3.938 kB / 1.585 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/1.611, allocations: 7.938 kB / 1.585 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/1.611, allocations: 51.91 kB / 1.586 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/1.611, allocations: 0 / 1.586 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/1.612, allocations: 43.81 kB / 1.586 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.612, allocations: 19.97 kB / 1.586 GB, free: 13.48 MB / 0.8855 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.0001356/1.612, allocations: 241 kB / 1.586 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/1.612, allocations: 43.44 kB / 1.586 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/1.612, allocations: 257.2 kB / 1.586 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.612, allocations: 4 kB / 1.586 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.612, allocations: 0 / 1.586 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.612, allocations: 0 / 1.586 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/1.613, allocations: 0.716 MB / 1.587 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.613, allocations: 0 / 1.587 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.613, allocations: 39.91 kB / 1.587 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.613, allocations: 4 kB / 1.587 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.613, allocations: 4 kB / 1.587 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.613, allocations: 128 / 1.587 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.613, allocations: 8 kB / 1.587 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/1.614, allocations: 356.9 kB / 1.587 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.614, allocations: 144.5 kB / 1.587 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/1.614, allocations: 8 kB / 1.587 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/1.614, allocations: 27.97 kB / 1.587 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/1.614, allocations: 11.98 kB / 1.587 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.614, allocations: 8 kB / 1.587 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002647/1.614, allocations: 342.7 kB / 1.588 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.614, allocations: 0 / 1.588 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006259/1.615, allocations: 235.6 kB / 1.588 GB, free: 10.93 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 () * 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.001009/1.616, allocations: 0.5744 MB / 1.589 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005279/1.617, allocations: 285.1 kB / 1.589 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.617, allocations: 0 / 1.589 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/1.617, allocations: 96.02 kB / 1.589 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.618, allocations: 219.3 kB / 1.589 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/1.619, allocations: 0.8389 MB / 1.59 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/1.619, allocations: 0.8349 MB / 1.591 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000298/1.619, allocations: 91.16 kB / 1.591 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/1.619, allocations: 31.44 kB / 1.591 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/1.619, allocations: 0 / 1.591 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of Templates: time 0.0128/1.632, allocations: 9.414 MB / 1.6 GB, free: 14.75 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)