Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.001034/0.001034, allocations: 182.2 kB / 373 MB, free: 10.18 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.833/1.833, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.0008531/0.0008531, allocations: 96.97 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005308, allocations: 15.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2844, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.376, allocations: 403.4 MB / 1.375 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.376, allocations: 102.5 kB / 1.375 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9769/2.353, allocations: 174.5 MB / 1.545 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.174e-06/2.353, allocations: 0 / 1.545 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.399e-05/2.353, allocations: 16 kB / 1.545 GB, free: 245.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001865/2.355, allocations: 0.865 MB / 1.546 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/2.355, allocations: 12.03 kB / 1.546 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/2.356, allocations: 56.28 kB / 1.546 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/2.357, allocations: 482.3 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/2.357, allocations: 25.31 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/2.357, allocations: 28 kB / 1.547 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/2.358, allocations: 294.1 kB / 1.547 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/2.358, allocations: 3.938 kB / 1.547 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/2.358, allocations: 16 kB / 1.547 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/2.358, allocations: 4 kB / 1.547 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/2.358, allocations: 194.1 kB / 1.547 GB, free: 243.2 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.002647/2.361, allocations: 1.511 MB / 1.549 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/2.361, allocations: 158.8 kB / 1.549 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/2.362, allocations: 92.81 kB / 1.549 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/2.364, allocations: 1.284 MB / 1.55 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/2.364, allocations: 34.56 kB / 1.55 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 4.449e-06/2.364, allocations: 3.984 kB / 1.55 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0008651/2.365, allocations: 270.2 kB / 1.55 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/2.365, allocations: 51.41 kB / 1.55 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/2.365, allocations: 0.573 MB / 1.551 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/2.365, allocations: 33.7 kB / 1.551 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/2.366, allocations: 272.1 kB / 1.551 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/2.366, allocations: 51.27 kB / 1.551 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/2.366, allocations: 11.94 kB / 1.551 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001065/2.366, allocations: 358.8 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/2.366, allocations: 72.52 kB / 1.552 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/2.366, allocations: 233.4 kB / 1.552 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/2.367, allocations: 247 kB / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/2.367, allocations: 0 / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000732/2.368, allocations: 311.2 kB / 1.552 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/2.368, allocations: 167.2 kB / 1.553 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/2.368, allocations: 4 kB / 1.553 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/2.368, allocations: 11.94 kB / 1.553 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/2.368, allocations: 67.91 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/2.368, allocations: 7.984 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/2.369, allocations: 47.58 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/2.369, allocations: 19.98 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/2.369, allocations: 8 kB / 1.553 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007107/2.37, allocations: 239.6 kB / 1.553 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/2.37, allocations: 12.25 kB / 1.553 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/2.37, allocations: 4 kB / 1.553 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/2.37, allocations: 63.89 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/2.37, allocations: 4 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/2.371, allocations: 43.7 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/2.371, allocations: 31.91 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003224/2.371, allocations: 257 kB / 1.553 GB, free: 236.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/2.371, allocations: 51.34 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/2.372, allocations: 268.2 kB / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/2.372, allocations: 4 kB / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/2.372, allocations: 3.938 kB / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/2.372, allocations: 0 / 1.554 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/2.374, allocations: 0.76 MB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/2.374, allocations: 3.938 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/2.374, allocations: 39.91 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/2.374, allocations: 0 / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/2.374, allocations: 8.125 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/2.374, allocations: 4 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/2.374, allocations: 4.188 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/2.375, allocations: 354.2 kB / 1.555 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/2.375, allocations: 168.2 kB / 1.555 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/2.375, allocations: 8 kB / 1.555 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/2.375, allocations: 23.98 kB / 1.555 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/2.375, allocations: 11.98 kB / 1.555 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/2.375, allocations: 7.984 kB / 1.555 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006509/2.376, allocations: 410.8 kB / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.363e-06/2.376, allocations: 0 / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001415/2.378, allocations: 275.5 kB / 1.556 GB, free: 233.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 (17): * Single equations (assignments): 15 * 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.001875/2.379, allocations: 0.6091 MB / 1.556 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001128/2.381, allocations: 339.8 kB / 1.557 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.381, allocations: 3.938 kB / 1.557 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/2.381, allocations: 92.89 kB / 1.557 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/2.383, allocations: 253.5 kB / 1.557 GB, free: 232.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/2.385, allocations: 0.9549 MB / 1.558 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/2.385, allocations: 0.8392 MB / 1.559 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006447/2.386, allocations: 116.2 kB / 1.559 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/2.386, allocations: 47.36 kB / 1.559 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of SimCode: time 7.31e-07/2.386, allocations: 0 / 1.559 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02664/2.413, allocations: 11.24 MB / 1.57 GB, free: 219.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)