Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001378/0.001378, allocations: 181.1 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009072/0.0009073, allocations: 90.52 kB / 0.751 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3226, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.737/2.059, allocations: 402.3 MB / 1.381 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/2.06, allocations: 100 kB / 1.381 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.508/3.568, allocations: 430.3 MB / 1.802 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.374e-06/3.568, allocations: 3.219 kB / 1.802 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001041/3.568, allocations: 39.61 kB / 1.802 GB, free: 182.5 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002971/3.571, allocations: 1.508 MB / 1.803 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/3.571, allocations: 10.12 kB / 1.803 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/3.571, allocations: 149.7 kB / 1.803 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/3.573, allocations: 0.8306 MB / 1.804 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/3.573, allocations: 82 kB / 1.804 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/3.573, allocations: 126.2 kB / 1.804 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009587/3.574, allocations: 0.6283 MB / 1.805 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/3.574, allocations: 0 / 1.805 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/3.574, allocations: 26.36 kB / 1.805 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/3.574, allocations: 11.91 kB / 1.805 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/3.575, allocations: 474.5 kB / 1.805 GB, free: 181.4 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.00522/3.58, allocations: 3.076 MB / 1.808 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/3.581, allocations: 337.4 kB / 1.809 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/3.581, allocations: 345.6 kB / 1.809 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/3.581, allocations: 37.75 kB / 1.809 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/3.581, allocations: 0 / 1.809 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00122/3.583, allocations: 0.5607 MB / 1.81 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/3.583, allocations: 66.81 kB / 1.81 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/3.584, allocations: 0.7638 MB / 1.81 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/3.584, allocations: 57.33 kB / 1.81 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/3.584, allocations: 0.5545 MB / 1.811 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/3.584, allocations: 118.4 kB / 1.811 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/3.584, allocations: 7.25 kB / 1.811 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001264/3.584, allocations: 330.3 kB / 1.811 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/3.585, allocations: 182.9 kB / 1.812 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/3.587, allocations: 1.432 MB / 1.813 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/3.587, allocations: 311.1 kB / 1.813 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/3.587, allocations: 3.156 kB / 1.813 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001406/3.589, allocations: 0.6611 MB / 1.814 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/3.589, allocations: 0.8089 MB / 1.815 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/3.589, allocations: 2.875 kB / 1.815 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/3.589, allocations: 4.094 kB / 1.815 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/3.591, allocations: 200.2 kB / 1.815 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/3.592, allocations: 2.966 MB / 1.818 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/3.597, allocations: 0.9085 MB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/3.597, allocations: 29.89 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/3.597, allocations: 9.094 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/3.598, allocations: 0.5034 MB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/3.598, allocations: 2.625 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/3.598, allocations: 5.688 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/3.599, allocations: 160.2 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/3.599, allocations: 9.312 kB / 1.819 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/3.603, allocations: 0.9006 MB / 1.82 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/3.603, allocations: 30.41 kB / 1.82 GB, free: 173.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001035/3.604, allocations: 336.2 kB / 1.821 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/3.604, allocations: 93.44 kB / 1.821 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/3.605, allocations: 0.5336 MB / 1.821 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/3.605, allocations: 3.812 kB / 1.821 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/3.605, allocations: 5.625 kB / 1.821 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/3.606, allocations: 1.875 kB / 1.821 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/3.608, allocations: 1.28 MB / 1.823 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/3.608, allocations: 0 / 1.823 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/3.609, allocations: 118.5 kB / 1.823 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/3.609, allocations: 3.906 kB / 1.823 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/3.609, allocations: 18.25 kB / 1.823 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/3.61, allocations: 2.934 MB / 1.826 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.61, allocations: 5.656 kB / 1.826 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/3.611, allocations: 0.6432 MB / 1.826 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/3.611, allocations: 221.8 kB / 1.826 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/3.611, allocations: 10.94 kB / 1.826 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/3.612, allocations: 69.62 kB / 1.826 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/3.612, allocations: 29.25 kB / 1.826 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/3.612, allocations: 11.92 kB / 1.826 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009062/3.613, allocations: 0.5911 MB / 1.827 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/3.613, allocations: 0 / 1.827 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002455/3.615, allocations: 0.606 MB / 1.828 GB, free: 169.7 MB / 0.9323 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/3.616, allocations: 0.5048 MB / 1.828 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002653/3.619, allocations: 0.8206 MB / 1.829 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/3.619, allocations: 3.188 kB / 1.829 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006112/3.62, allocations: 237.9 kB / 1.829 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/3.622, allocations: 482.9 kB / 1.83 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/3.625, allocations: 1.757 MB / 1.831 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/3.625, allocations: 1.048 MB / 1.832 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001293/3.627, allocations: 206.5 kB / 1.833 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/3.627, allocations: 75.84 kB / 1.833 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of SimCode: time 5.51e-07/3.627, allocations: 0 / 1.833 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05648/3.683, allocations: 27.63 MB / 1.86 GB, free: 166.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)