Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001262/0.001262, allocations: 180.9 kB / 361.4 MB, free: 6.816 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.532/1.532, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008693/0.0008695, allocations: 90.28 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.205e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5747, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8857/1.46, allocations: 431.6 MB / 1.386 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.461, allocations: 101.8 kB / 1.386 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.589/5.049, allocations: 0.9658 GB / 2.352 GB, free: 117.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/5.049, allocations: 1.594 kB / 2.352 GB, free: 117.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004799/5.05, allocations: 86.89 kB / 2.352 GB, free: 117.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.007453/5.057, allocations: 2.532 MB / 2.354 GB, free: 116.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/5.057, allocations: 7.312 kB / 2.354 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/5.059, allocations: 323.7 kB / 2.355 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005663/5.065, allocations: 2.41 MB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/5.065, allocations: 49.78 kB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/5.065, allocations: 106 kB / 2.357 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001746/5.067, allocations: 0.9823 MB / 2.358 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/5.069, allocations: 1.3 MB / 2.359 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/5.069, allocations: 6.75 kB / 2.359 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/5.069, allocations: 0 / 2.359 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/5.069, allocations: 41.22 kB / 2.359 GB, free: 115.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01084/5.08, allocations: 7.632 MB / 2.367 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/5.081, allocations: 443.5 kB / 2.367 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/5.081, allocations: 313 kB / 2.368 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/5.082, allocations: 0.7524 MB / 2.368 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/5.082, allocations: 45.5 kB / 2.368 GB, free: 111.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.477e-06/5.082, allocations: 4.797 kB / 2.368 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001704/5.083, allocations: 0.721 MB / 2.369 GB, free: 111.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/5.083, allocations: 55.62 kB / 2.369 GB, free: 111.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/5.086, allocations: 1.664 MB / 2.371 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/5.086, allocations: 29.58 kB / 2.371 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/5.087, allocations: 1.148 MB / 2.372 GB, free: 110.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/5.088, allocations: 207.8 kB / 2.372 GB, free: 110.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/5.088, allocations: 2.781 kB / 2.372 GB, free: 110.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/5.088, allocations: 351.8 kB / 2.372 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/5.088, allocations: 302.4 kB / 2.373 GB, free: 110.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/5.089, allocations: 0.759 MB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/5.09, allocations: 448 kB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/5.09, allocations: 2.875 kB / 2.374 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002075/5.092, allocations: 1.122 MB / 2.375 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/5.093, allocations: 3.158 MB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/5.093, allocations: 9.469 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/5.093, allocations: 15.59 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/5.094, allocations: 254.4 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/5.094, allocations: 24.97 kB / 2.378 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/5.096, allocations: 202.2 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/5.096, allocations: 53.45 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/5.096, allocations: 4.625 kB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/5.098, allocations: 0.8485 MB / 2.379 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/5.098, allocations: 11.38 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/5.098, allocations: 19.42 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/5.099, allocations: 253.9 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/5.099, allocations: 22.41 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/5.101, allocations: 166.6 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/5.101, allocations: 51.39 kB / 2.38 GB, free: 106 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0002845/5.101, allocations: 137.6 kB / 2.38 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/5.101, allocations: 202.1 kB / 2.38 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/5.103, allocations: 0.8213 MB / 2.381 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/5.103, allocations: 19.27 kB / 2.381 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/5.103, allocations: 0 / 2.381 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008838/5.104, allocations: 0.6556 MB / 2.382 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/5.109, allocations: 2.399 MB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/5.109, allocations: 3.875 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/5.11, allocations: 143.8 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/5.11, allocations: 6.406 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/5.11, allocations: 14.34 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/5.11, allocations: 2.406 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.11, allocations: 1.5 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/5.112, allocations: 1.263 MB / 2.386 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/5.113, allocations: 433 kB / 2.386 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/5.114, allocations: 6.5 kB / 2.386 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/5.115, allocations: 153.7 kB / 2.386 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/5.116, allocations: 48.81 kB / 2.386 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/5.116, allocations: 35.03 kB / 2.386 GB, free: 104.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00253/5.118, allocations: 1.226 MB / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/5.118, allocations: 0 / 2.387 GB, free: 104.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005283/5.124, allocations: 1.207 MB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002954/5.126, allocations: 1.227 MB / 2.39 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002891/5.129, allocations: 1.297 MB / 2.391 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/5.129, allocations: 1.25 kB / 2.391 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/5.13, allocations: 302.6 kB / 2.391 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/5.137, allocations: 1.276 MB / 2.393 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/5.145, allocations: 2.751 MB / 2.395 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/5.147, allocations: 1.634 MB / 2.397 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003741/5.15, allocations: 0.6361 MB / 2.397 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/5.151, allocations: 122.5 kB / 2.398 GB, free: 102.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/5.151, allocations: 0 / 2.398 GB, free: 102.2 MB / 0.948 GB Notification: Performance of Templates: time 0.08987/5.241, allocations: 44.92 MB / 2.441 GB, free: 100.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)