Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.0009687/0.0009687, allocations: 179.5 kB / 371.6 MB, free: 3.406 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.296/1.296, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009159/0.0009161, allocations: 90.08 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.77e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.765, allocations: 431.8 MB / 1.401 GB, free: 256.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.766, allocations: 97.62 kB / 1.402 GB, free: 256.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707/5.473, allocations: 1.1 GB / 2.502 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.142e-06/5.473, allocations: 1.625 kB / 2.502 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002116/5.473, allocations: 70.75 kB / 2.502 GB, free: 107.2 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004062/5.477, allocations: 2.295 MB / 2.504 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/5.477, allocations: 11.88 kB / 2.504 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/5.477, allocations: 265.2 kB / 2.504 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/5.48, allocations: 1.561 MB / 2.506 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/5.48, allocations: 110 kB / 2.506 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/5.481, allocations: 149.2 kB / 2.506 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/5.482, allocations: 1.114 MB / 2.507 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/5.482, allocations: 3.516 kB / 2.507 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/5.482, allocations: 46.38 kB / 2.507 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/5.482, allocations: 32.69 kB / 2.507 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/5.484, allocations: 0.954 MB / 2.508 GB, free: 105.9 MB / 0.9792 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.008287/5.492, allocations: 6.356 MB / 2.515 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/5.493, allocations: 0.5683 MB / 2.515 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/5.493, allocations: 378.9 kB / 2.515 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/5.494, allocations: 0.5103 MB / 2.516 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/5.494, allocations: 41.78 kB / 2.516 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001889/5.496, allocations: 476.8 kB / 2.516 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=58): time 3.416e-06/5.496, allocations: 0 / 2.516 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58): time 0.001199/5.497, allocations: 0.8199 MB / 2.517 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/5.497, allocations: 59.41 kB / 2.517 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/5.499, allocations: 1.579 MB / 2.519 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/5.499, allocations: 47.73 kB / 2.519 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/5.499, allocations: 0.9265 MB / 2.52 GB, free: 102 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/5.499, allocations: 205.5 kB / 2.52 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/5.499, allocations: 18.97 kB / 2.52 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/5.5, allocations: 356.4 kB / 2.52 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/5.5, allocations: 382.3 kB / 2.521 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/5.501, allocations: 0.724 MB / 2.521 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/5.502, allocations: 492.1 kB / 2.522 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/5.502, allocations: 4.969 kB / 2.522 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001758/5.503, allocations: 1.288 MB / 2.523 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/5.503, allocations: 0.9352 MB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.503, allocations: 3.375 kB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/5.504, allocations: 6.312 kB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/5.505, allocations: 280 kB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/5.505, allocations: 12.98 kB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/5.506, allocations: 165.2 kB / 2.524 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/5.506, allocations: 62.39 kB / 2.525 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/5.507, allocations: 2.875 kB / 2.525 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/5.508, allocations: 1.064 MB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/5.508, allocations: 2.625 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/5.508, allocations: 9.969 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.509, allocations: 279.8 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/5.509, allocations: 19.55 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/5.511, allocations: 163.1 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/5.511, allocations: 60.03 kB / 2.526 GB, free: 100.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.000197/5.511, allocations: 167.1 kB / 2.526 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/5.511, allocations: 200.3 kB / 2.526 GB, free: 99.84 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/5.513, allocations: 1.027 MB / 2.527 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/5.513, allocations: 9.094 kB / 2.527 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/5.513, allocations: 7.281 kB / 2.527 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/5.513, allocations: 7.406 kB / 2.527 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/5.516, allocations: 2.341 MB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/5.516, allocations: 3.188 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/5.517, allocations: 132.2 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/5.517, allocations: 5.781 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/5.517, allocations: 22.25 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/5.517, allocations: 3.125 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.517, allocations: 3.219 kB / 2.53 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/5.518, allocations: 1.127 MB / 2.531 GB, free: 98.89 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/5.519, allocations: 362.2 kB / 2.531 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/5.519, allocations: 15.41 kB / 2.531 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/5.52, allocations: 115.8 kB / 2.531 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/5.52, allocations: 53.45 kB / 2.532 GB, free: 98.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/5.52, allocations: 31.14 kB / 2.532 GB, free: 98.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00169/5.522, allocations: 1.183 MB / 2.533 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.8e-07/5.522, allocations: 0 / 2.533 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002716/5.525, allocations: 0.9789 MB / 2.534 GB, free: 98.44 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.001424/5.526, allocations: 0.9653 MB / 2.535 GB, free: 98.19 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002347/5.529, allocations: 1.582 MB / 2.536 GB, free: 98.15 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/5.529, allocations: 2.688 kB / 2.536 GB, free: 98.15 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/5.529, allocations: 374.5 kB / 2.537 GB, free: 98.14 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/5.535, allocations: 1.151 MB / 2.538 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/5.538, allocations: 2.193 MB / 2.54 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/5.539, allocations: 1.448 MB / 2.541 GB, free: 96.68 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00269/5.542, allocations: 0.5068 MB / 2.542 GB, free: 96.66 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/5.542, allocations: 128.1 kB / 2.542 GB, free: 96.65 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/5.542, allocations: 0 / 2.542 GB, free: 96.65 MB / 0.9792 GB Notification: Performance of Templates: time 0.07083/5.613, allocations: 48.84 MB / 2.59 GB, free: 94.79 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)