Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 293 MB / 309 MB, free: 4.852 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.001116/0.001116, allocations: 188.2 kB / 378.7 MB, free: 1.059 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.985/1.985, allocations: 205.4 MB / 0.6383 GB, free: 9.207 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.0008769/0.0008774, allocations: 88.41 kB / 0.7527 GB, free: 62.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 12 kB / 0.8768 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.333, allocations: 116.4 MB / 0.9904 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.701/2.034, allocations: 397.9 MB / 1.379 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/2.034, allocations: 93.73 kB / 1.379 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4825/2.516, allocations: 235.3 MB / 1.609 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.964e-06/2.516, allocations: 0 / 1.609 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.685e-05/2.517, allocations: 20 kB / 1.609 GB, free: 126.6 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002742/2.519, allocations: 1.076 MB / 1.61 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.519, allocations: 12.03 kB / 1.61 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/2.52, allocations: 80 kB / 1.61 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/2.521, allocations: 0.5395 MB / 1.611 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/2.521, allocations: 41.38 kB / 1.611 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/2.521, allocations: 48.38 kB / 1.611 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/2.522, allocations: 0.626 MB / 1.611 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/2.522, allocations: 7.938 kB / 1.611 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/2.522, allocations: 20 kB / 1.611 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/2.522, allocations: 12 kB / 1.611 GB, free: 124 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/2.523, allocations: 0.5034 MB / 1.612 GB, free: 123.5 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.003186/2.526, allocations: 3.216 MB / 1.615 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/2.527, allocations: 350.7 kB / 1.615 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/2.527, allocations: 240.7 kB / 1.616 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/2.528, allocations: 348.4 kB / 1.616 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/2.528, allocations: 38.56 kB / 1.616 GB, free: 119 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.796e-06/2.528, allocations: 4 kB / 1.616 GB, free: 119 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001866/2.53, allocations: 0.8377 MB / 1.617 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/2.53, allocations: 59.41 kB / 1.617 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/2.53, allocations: 0.5666 MB / 1.617 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/2.53, allocations: 37.7 kB / 1.617 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/2.53, allocations: 328.4 kB / 1.618 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/2.531, allocations: 134.1 kB / 1.618 GB, free: 117 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/2.531, allocations: 12 kB / 1.618 GB, free: 117 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001087/2.531, allocations: 370.8 kB / 1.618 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/2.531, allocations: 217.2 kB / 1.618 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/2.532, allocations: 400.3 kB / 1.619 GB, free: 116 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/2.533, allocations: 0.5705 MB / 1.619 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.533, allocations: 0 / 1.619 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001278/2.534, allocations: 0.7224 MB / 1.62 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/2.534, allocations: 223.4 kB / 1.62 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.534, allocations: 4 kB / 1.62 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/2.535, allocations: 144.7 kB / 1.62 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/2.535, allocations: 159.8 kB / 1.621 GB, free: 114 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005123/2.536, allocations: 0.6264 MB / 1.621 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/2.536, allocations: 115.3 kB / 1.621 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/2.536, allocations: 31.98 kB / 1.621 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/2.537, allocations: 4 kB / 1.621 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/2.538, allocations: 0.619 MB / 1.622 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/2.538, allocations: 4 kB / 1.622 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/2.538, allocations: 12.03 kB / 1.622 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/2.538, allocations: 160.2 kB / 1.622 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/2.538, allocations: 12 kB / 1.622 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/2.539, allocations: 95.47 kB / 1.622 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/2.539, allocations: 39.92 kB / 1.622 GB, free: 112.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003522/2.539, allocations: 272.8 kB / 1.622 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.539, allocations: 67.09 kB / 1.623 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/2.541, allocations: 0.659 MB / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/2.541, allocations: 8 kB / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/2.541, allocations: 0 / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/2.541, allocations: 3.984 kB / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/2.543, allocations: 1.379 MB / 1.625 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/2.543, allocations: 0 / 1.625 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/2.544, allocations: 91.98 kB / 1.625 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/2.544, allocations: 132.7 kB / 1.625 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/2.544, allocations: 19.92 kB / 1.625 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005296/2.545, allocations: 0.6305 MB / 1.625 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.545, allocations: 3.984 kB / 1.625 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/2.546, allocations: 0.7241 MB / 1.626 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/2.546, allocations: 192 kB / 1.626 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/2.547, allocations: 12 kB / 1.626 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/2.547, allocations: 55.94 kB / 1.626 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/2.547, allocations: 43.83 kB / 1.626 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/2.547, allocations: 19.98 kB / 1.626 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000451/2.548, allocations: 391.1 kB / 1.627 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.21e-07/2.548, allocations: 0 / 1.627 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001653/2.549, allocations: 419.4 kB / 1.627 GB, free: 107 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/2.551, allocations: 416.4 kB / 1.628 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002097/2.553, allocations: 0.9097 MB / 1.628 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/2.553, allocations: 0 / 1.628 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006495/2.554, allocations: 296.3 kB / 1.629 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/2.555, allocations: 263.4 kB / 1.629 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/2.557, allocations: 1.274 MB / 1.63 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/2.558, allocations: 0.9119 MB / 1.631 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006472/2.558, allocations: 148.9 kB / 1.631 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/2.559, allocations: 63.41 kB / 1.631 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of SimCode: time 5.51e-07/2.559, allocations: 0 / 1.631 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.02193/2.58, allocations: 13.23 MB / 1.644 GB, free: 89.57 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)