Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 172.5 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007054/0.0007054, allocations: 86.36 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 12.48 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1255/0.3254, allocations: 151.8 MB / 1.05 GB, free: 7.262 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4963/0.8218, allocations: 34.77 MB / 1.084 GB, free: 38.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008254/0.8301, allocations: 135.8 kB / 1.084 GB, free: 38.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.8343, allocations: 0.817 MB / 1.085 GB, free: 38.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.8449, allocations: 2.877 MB / 1.087 GB, free: 38.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007159/0.8521, allocations: 2.29 MB / 1.09 GB, free: 38.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.864, allocations: 7.305 MB / 1.097 GB, free: 38.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003742/0.8678, allocations: 1.823 MB / 1.099 GB, free: 38.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/0.8747, allocations: 2.367 MB / 1.101 GB, free: 38.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.8794, allocations: 1.879 MB / 1.103 GB, free: 38.03 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008703/0.8803, allocations: 93.94 kB / 1.103 GB, free: 38.03 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.8841, allocations: 0.9381 MB / 1.104 GB, free: 38.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.8852, allocations: 437.5 kB / 1.104 GB, free: 37.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.8883, allocations: 1.123 MB / 1.105 GB, free: 37.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.8923, allocations: 2.394 MB / 1.108 GB, free: 37.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8923, allocations: 0 / 1.108 GB, free: 37.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8924, allocations: 0 / 1.108 GB, free: 37.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001593/0.8925, allocations: 0 / 1.108 GB, free: 37.32 MB / 0.698 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.005807/0.8983, allocations: 2.308 MB / 1.11 GB, free: 36.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8984, allocations: 11.62 kB / 1.11 GB, free: 36.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.8993, allocations: 256.5 kB / 1.11 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.9023, allocations: 1.431 MB / 1.111 GB, free: 35.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.9025, allocations: 106.9 kB / 1.112 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.9029, allocations: 137.4 kB / 1.112 GB, free: 35.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.906, allocations: 1.156 MB / 1.113 GB, free: 35.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.906, allocations: 3.938 kB / 1.113 GB, free: 35.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.9061, allocations: 48.38 kB / 1.113 GB, free: 35.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.9062, allocations: 28.34 kB / 1.113 GB, free: 35.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.9082, allocations: 1.02 MB / 1.114 GB, free: 35.21 MB / 0.698 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.01066/0.9189, allocations: 6.307 MB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.9201, allocations: 0.5679 MB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.9207, allocations: 385.7 kB / 1.121 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.9211, allocations: 0.5084 MB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.9211, allocations: 46.88 kB / 1.121 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/0.9231, allocations: 334.4 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 8.015e-06/0.9231, allocations: 0 / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.002379/0.9255, allocations: 1.121 MB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.9255, allocations: 61.09 kB / 1.123 GB, free: 30.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.9285, allocations: 1.849 MB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.9287, allocations: 46.95 kB / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.9295, allocations: 0.91 MB / 1.126 GB, free: 29.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.9297, allocations: 210.2 kB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.9298, allocations: 23.38 kB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.9299, allocations: 348.8 kB / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/0.9309, allocations: 442.3 kB / 1.127 GB, free: 28.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.932, allocations: 0.6814 MB / 1.127 GB, free: 28.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.9336, allocations: 0.9581 MB / 1.128 GB, free: 28.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.9336, allocations: 0 / 1.128 GB, free: 28.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002714/0.9363, allocations: 1.402 MB / 1.13 GB, free: 27.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.9365, allocations: 194.5 kB / 1.13 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.9365, allocations: 7.406 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/0.9365, allocations: 9.844 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.9378, allocations: 292.8 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.923e-05/0.9378, allocations: 6.094 kB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.9398, allocations: 159.7 kB / 1.13 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.9399, allocations: 63.77 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.94, allocations: 7.344 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001826/0.9418, allocations: 1.149 MB / 1.131 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9418, allocations: 2.438 kB / 1.131 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.9418, allocations: 9.688 kB / 1.131 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.9429, allocations: 280.2 kB / 1.132 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/0.943, allocations: 12.11 kB / 1.132 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.9449, allocations: 151.5 kB / 1.132 GB, free: 26.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.945, allocations: 60.52 kB / 1.132 GB, free: 26.65 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009619/0.946, allocations: 449.6 kB / 1.132 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/0.9465, allocations: 195.1 kB / 1.133 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.9486, allocations: 1.066 MB / 1.134 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.9486, allocations: 10.7 kB / 1.134 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9487, allocations: 0 / 1.134 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9487, allocations: 6.328 kB / 1.134 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.9532, allocations: 2.374 MB / 1.136 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.9532, allocations: 3.75 kB / 1.136 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.9538, allocations: 146.5 kB / 1.136 GB, free: 23.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.9538, allocations: 3.594 kB / 1.136 GB, free: 23.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.9538, allocations: 22.66 kB / 1.136 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.9539, allocations: 3.25 kB / 1.136 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9539, allocations: 3.375 kB / 1.136 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.9553, allocations: 1.053 MB / 1.137 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.956, allocations: 364.7 kB / 1.138 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.9562, allocations: 14.69 kB / 1.138 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.9571, allocations: 100.5 kB / 1.138 GB, free: 22.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9573, allocations: 50 kB / 1.138 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.9573, allocations: 29.7 kB / 1.138 GB, free: 22.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001456/0.9588, allocations: 1.218 MB / 1.139 GB, free: 22.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9588, allocations: 0 / 1.139 GB, free: 22.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002141/0.9609, allocations: 0.8893 MB / 1.14 GB, free: 22.1 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006906/0.9616, allocations: 349.6 kB / 1.14 GB, free: 21.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.9642, allocations: 1.612 MB / 1.142 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.9642, allocations: 1.109 kB / 1.142 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.9647, allocations: 393.5 kB / 1.142 GB, free: 20.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/0.9707, allocations: 1.165 MB / 1.143 GB, free: 19.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.9755, allocations: 3.721 MB / 1.147 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.9761, allocations: 1.39 MB / 1.148 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/0.9767, allocations: 167.4 kB / 1.148 GB, free: 14.39 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/0.9767, allocations: 4 kB / 1.148 GB, free: 14.38 MB / 0.698 GB Notification: Performance of Templates: time 0.05056/1.027, allocations: 30.77 MB / 1.178 GB, free: 15.94 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)