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.69/1.69, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001387/0.001387, allocations: 191.2 kB / 373 MB, free: 10.12 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.852/1.852, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.001091/0.001091, allocations: 84.25 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 12.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.385, allocations: 396.9 MB / 1.368 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/1.385, allocations: 93.14 kB / 1.368 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9598/2.345, allocations: 235.3 MB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.136e-06/2.345, allocations: 0 / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.932e-05/2.345, allocations: 19.98 kB / 1.598 GB, free: 189.8 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.001993/2.347, allocations: 1.083 MB / 1.599 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/2.347, allocations: 8.031 kB / 1.599 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/2.347, allocations: 80 kB / 1.599 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/2.348, allocations: 0.5395 MB / 1.6 GB, free: 188 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/2.348, allocations: 41.31 kB / 1.6 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/2.348, allocations: 52.38 kB / 1.6 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/2.349, allocations: 0.6338 MB / 1.601 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/2.349, allocations: 7.875 kB / 1.601 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/2.349, allocations: 24 kB / 1.601 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/2.349, allocations: 12 kB / 1.601 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/2.35, allocations: 0.5034 MB / 1.601 GB, free: 186.6 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.002982/2.353, allocations: 3.213 MB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/2.354, allocations: 336.4 kB / 1.605 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/2.354, allocations: 244.5 kB / 1.605 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/2.355, allocations: 348.4 kB / 1.605 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/2.355, allocations: 34.56 kB / 1.605 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.355e-06/2.355, allocations: 0 / 1.605 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001948/2.357, allocations: 0.8415 MB / 1.606 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/2.357, allocations: 55.41 kB / 1.606 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/2.357, allocations: 0.5705 MB / 1.607 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/2.357, allocations: 37.7 kB / 1.607 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/2.357, allocations: 332.4 kB / 1.607 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.882e-05/2.357, allocations: 134 kB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/2.357, allocations: 8 kB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001041/2.358, allocations: 374.8 kB / 1.607 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/2.358, allocations: 213.2 kB / 1.608 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/2.359, allocations: 404.2 kB / 1.608 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/2.359, allocations: 0.5705 MB / 1.609 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.359, allocations: 0 / 1.609 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001366/2.361, allocations: 0.7267 MB / 1.609 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/2.361, allocations: 219 kB / 1.61 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/2.361, allocations: 8 kB / 1.61 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/2.362, allocations: 144.7 kB / 1.61 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/2.362, allocations: 159.8 kB / 1.61 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005945/2.363, allocations: 0.6342 MB / 1.61 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/2.364, allocations: 107.4 kB / 1.611 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/2.364, allocations: 35.98 kB / 1.611 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/2.364, allocations: 4 kB / 1.611 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00122/2.365, allocations: 0.6155 MB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/2.365, allocations: 4 kB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/2.365, allocations: 8 kB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/2.366, allocations: 163.8 kB / 1.611 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/2.366, allocations: 11.94 kB / 1.611 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/2.366, allocations: 95.64 kB / 1.611 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/2.366, allocations: 31.98 kB / 1.612 GB, free: 175.4 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.0004384/2.367, allocations: 272.9 kB / 1.612 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/2.367, allocations: 75.08 kB / 1.612 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/2.368, allocations: 0.6551 MB / 1.612 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/2.368, allocations: 8 kB / 1.612 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/2.368, allocations: 0 / 1.612 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/2.368, allocations: 3.984 kB / 1.612 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/2.371, allocations: 1.375 MB / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/2.371, allocations: 4 kB / 1.614 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/2.371, allocations: 87.88 kB / 1.614 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003894/2.371, allocations: 128.8 kB / 1.614 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/2.371, allocations: 15.94 kB / 1.614 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005008/2.372, allocations: 0.6304 MB / 1.615 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.372, allocations: 0 / 1.615 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/2.373, allocations: 0.7241 MB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/2.373, allocations: 200 kB / 1.616 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/2.373, allocations: 12 kB / 1.616 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/2.374, allocations: 67.94 kB / 1.616 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/2.374, allocations: 35.89 kB / 1.616 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/2.374, allocations: 16 kB / 1.616 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003762/2.374, allocations: 391.1 kB / 1.616 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/2.374, allocations: 0 / 1.616 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001394/2.376, allocations: 419.5 kB / 1.616 GB, free: 170.2 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.0008109/2.377, allocations: 421 kB / 1.617 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001902/2.379, allocations: 0.9058 MB / 1.618 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/2.379, allocations: 0 / 1.618 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/2.379, allocations: 291.9 kB / 1.618 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.381, allocations: 266.5 kB / 1.618 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/2.383, allocations: 1.282 MB / 1.62 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/2.383, allocations: 0.9119 MB / 1.62 GB, free: 166 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006882/2.384, allocations: 141 kB / 1.621 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/2.384, allocations: 59.42 kB / 1.621 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/2.384, allocations: 0 / 1.621 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.02727/2.411, allocations: 13.24 MB / 1.634 GB, free: 152.8 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)