Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001431/0.001431, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.067/2.067, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009397/0.0009394, allocations: 94.7 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.000356, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.684/2.017, allocations: 399.7 MB / 1.379 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/2.017, allocations: 99.14 kB / 1.379 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3325/2.35, allocations: 175.3 MB / 1.55 GB, free: 187 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/2.35, allocations: 0 / 1.55 GB, free: 187 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.459e-05/2.35, allocations: 16 kB / 1.55 GB, free: 186.9 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00127/2.351, allocations: 0.8345 MB / 1.551 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/2.351, allocations: 8.031 kB / 1.551 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/2.351, allocations: 51.44 kB / 1.551 GB, free: 186 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/2.352, allocations: 428.9 kB / 1.551 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/2.352, allocations: 20.44 kB / 1.551 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/2.352, allocations: 28 kB / 1.551 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/2.352, allocations: 219.2 kB / 1.552 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/2.352, allocations: 0 / 1.552 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/2.352, allocations: 8 kB / 1.552 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/2.352, allocations: 4 kB / 1.552 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/2.353, allocations: 169.6 kB / 1.552 GB, free: 185.1 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.001315/2.354, allocations: 0.9453 MB / 1.553 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/2.354, allocations: 138.5 kB / 1.553 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/2.355, allocations: 340.5 kB / 1.553 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/2.355, allocations: 42.55 kB / 1.553 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/2.355, allocations: 0 / 1.553 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0005342/2.355, allocations: 252.7 kB / 1.553 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/2.355, allocations: 51.41 kB / 1.553 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/2.356, allocations: 409.2 kB / 1.554 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/2.356, allocations: 33.7 kB / 1.554 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/2.356, allocations: 232.6 kB / 1.554 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/2.356, allocations: 51.14 kB / 1.554 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/2.356, allocations: 8 kB / 1.554 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.356, allocations: 354.8 kB / 1.554 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/2.356, allocations: 67.91 kB / 1.555 GB, free: 182 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/2.356, allocations: 178.1 kB / 1.555 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/2.356, allocations: 95.84 kB / 1.555 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/2.356, allocations: 0 / 1.555 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004018/2.357, allocations: 262.6 kB / 1.555 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/2.357, allocations: 267 kB / 1.555 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/2.357, allocations: 0 / 1.555 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/2.357, allocations: 7.953 kB / 1.555 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/2.357, allocations: 51.91 kB / 1.555 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/2.357, allocations: 4 kB / 1.555 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/2.358, allocations: 43.72 kB / 1.555 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/2.358, allocations: 19.98 kB / 1.555 GB, free: 181 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/2.358, allocations: 4 kB / 1.555 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003337/2.358, allocations: 182 kB / 1.556 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/2.358, allocations: 0 / 1.556 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-06/2.358, allocations: 4 kB / 1.556 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/2.358, allocations: 51.91 kB / 1.556 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/2.358, allocations: 0 / 1.556 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/2.358, allocations: 55.64 kB / 1.556 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/2.358, allocations: 12 kB / 1.556 GB, free: 180.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001567/2.359, allocations: 242.6 kB / 1.556 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/2.359, allocations: 43.52 kB / 1.556 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/2.359, allocations: 257 kB / 1.556 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/2.359, allocations: 7.984 kB / 1.556 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/2.359, allocations: 4 kB / 1.556 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/2.359, allocations: 0 / 1.556 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/2.36, allocations: 0.7161 MB / 1.557 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/2.36, allocations: 0 / 1.557 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/2.36, allocations: 31.92 kB / 1.557 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/2.36, allocations: 4 kB / 1.557 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/2.36, allocations: 4 kB / 1.557 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/2.36, allocations: 4 kB / 1.557 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/2.36, allocations: 8.062 kB / 1.557 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/2.361, allocations: 402.6 kB / 1.557 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/2.361, allocations: 148.4 kB / 1.557 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/2.361, allocations: 4 kB / 1.558 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/2.361, allocations: 27.97 kB / 1.558 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/2.361, allocations: 11.98 kB / 1.558 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/2.361, allocations: 4 kB / 1.558 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002622/2.361, allocations: 330.9 kB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.361, allocations: 0 / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007303/2.362, allocations: 231.6 kB / 1.558 GB, free: 178.1 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 (16): * Single equations (assignments): 14 * 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.00113/2.363, allocations: 0.5822 MB / 1.559 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005397/2.364, allocations: 279.7 kB / 1.559 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/2.364, allocations: 0 / 1.559 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/2.364, allocations: 88.08 kB / 1.559 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/2.365, allocations: 221.7 kB / 1.559 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/2.366, allocations: 0.8388 MB / 1.56 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/2.366, allocations: 0.8311 MB / 1.561 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000264/2.366, allocations: 87.55 kB / 1.561 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/2.367, allocations: 39.42 kB / 1.561 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.41e-07/2.367, allocations: 4 kB / 1.561 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.01282/2.379, allocations: 9.294 MB / 1.57 GB, free: 166 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)