Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001129/0.001129, allocations: 185 kB / 371.8 MB, free: 10.28 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.796/1.796, allocations: 205.4 MB / 0.6306 GB, free: 9.938 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.001124/0.001124, allocations: 95.67 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 15.62 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2551, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.296, allocations: 396.8 MB / 1.367 GB, free: 56 kB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.296, allocations: 96.94 kB / 1.367 GB, free: 0 / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.051/2.347, allocations: 236.6 MB / 1.598 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.367e-06/2.347, allocations: 0 / 1.598 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001122/2.348, allocations: 19.98 kB / 1.598 GB, free: 189.1 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.002844/2.35, allocations: 1.083 MB / 1.599 GB, free: 188 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/2.35, allocations: 8.031 kB / 1.599 GB, free: 188 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/2.351, allocations: 83.02 kB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/2.352, allocations: 0.519 MB / 1.6 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/2.352, allocations: 45 kB / 1.6 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/2.352, allocations: 48 kB / 1.6 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/2.353, allocations: 0.6216 MB / 1.6 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/2.353, allocations: 11.89 kB / 1.6 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/2.353, allocations: 16 kB / 1.6 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/2.353, allocations: 12 kB / 1.6 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/2.354, allocations: 0.5073 MB / 1.601 GB, free: 186 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.002937/2.357, allocations: 3.213 MB / 1.604 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/2.357, allocations: 339 kB / 1.604 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/2.358, allocations: 353 kB / 1.605 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/2.358, allocations: 34.56 kB / 1.605 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.657e-06/2.358, allocations: 0 / 1.605 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001881/2.359, allocations: 0.8338 MB / 1.606 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/2.36, allocations: 55.41 kB / 1.606 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/2.36, allocations: 0.5032 MB / 1.606 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/2.36, allocations: 37.7 kB / 1.606 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/2.36, allocations: 328.4 kB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/2.36, allocations: 130.1 kB / 1.607 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/2.36, allocations: 12 kB / 1.607 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001015/2.36, allocations: 378.7 kB / 1.607 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/2.361, allocations: 209.2 kB / 1.607 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/2.361, allocations: 404.2 kB / 1.608 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/2.362, allocations: 252.7 kB / 1.608 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.362, allocations: 4 kB / 1.608 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001244/2.363, allocations: 0.7305 MB / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/2.363, allocations: 1.744 MB / 1.61 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/2.363, allocations: 4 kB / 1.61 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/2.364, allocations: 148.7 kB / 1.61 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/2.365, allocations: 155.7 kB / 1.611 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/2.365, allocations: 0.6266 MB / 1.611 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/2.366, allocations: 107.3 kB / 1.611 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/2.366, allocations: 35.92 kB / 1.611 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/2.366, allocations: 5.875 kB / 1.611 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/2.367, allocations: 0.6111 MB / 1.612 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/2.367, allocations: 4.562 kB / 1.612 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/2.367, allocations: 8 kB / 1.612 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/2.368, allocations: 171.7 kB / 1.612 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/2.368, allocations: 8 kB / 1.612 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/2.368, allocations: 99.41 kB / 1.612 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/2.368, allocations: 31.98 kB / 1.612 GB, free: 173.9 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.0003219/2.369, allocations: 265 kB / 1.612 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/2.369, allocations: 63.39 kB / 1.612 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/2.37, allocations: 0.6703 MB / 1.613 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/2.37, allocations: 7.953 kB / 1.613 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/2.37, allocations: 4 kB / 1.613 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/2.37, allocations: 7.984 kB / 1.613 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/2.372, allocations: 1.381 MB / 1.615 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.372, allocations: 4 kB / 1.615 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/2.373, allocations: 87.88 kB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/2.373, allocations: 128.8 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/2.373, allocations: 12 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004733/2.374, allocations: 0.6381 MB / 1.615 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.374, allocations: 4.031 kB / 1.615 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/2.375, allocations: 0.7564 MB / 1.616 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/2.375, allocations: 200 kB / 1.616 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/2.375, allocations: 8 kB / 1.616 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/2.376, allocations: 63.88 kB / 1.616 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/2.376, allocations: 35.91 kB / 1.616 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/2.376, allocations: 12 kB / 1.616 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003861/2.376, allocations: 395.1 kB / 1.617 GB, free: 169 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.376, allocations: 0 / 1.617 GB, free: 169 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001372/2.378, allocations: 415.4 kB / 1.617 GB, free: 168.6 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.0008402/2.378, allocations: 419.5 kB / 1.618 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001807/2.38, allocations: 0.9019 MB / 1.618 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.38, allocations: 3.938 kB / 1.618 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/2.381, allocations: 291.9 kB / 1.619 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/2.382, allocations: 269.1 kB / 1.619 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/2.384, allocations: 1.272 MB / 1.62 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/2.384, allocations: 0.9199 MB / 1.621 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005733/2.385, allocations: 152.9 kB / 1.621 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.385, allocations: 59.42 kB / 1.621 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.283e-06/2.385, allocations: 0 / 1.621 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.01959/2.405, allocations: 12.96 MB / 1.634 GB, free: 151.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)