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.852/1.852, allocations: 292.3 MB / 308.1 MB, free: 4.332 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.001446/0.001446, allocations: 192.3 kB / 376.9 MB, free: 1.859 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.648/1.648, allocations: 205 MB / 0.6353 GB, free: 9.809 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.001018/0.001018, allocations: 95.55 kB / 0.7479 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2747, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.655/0.9297, allocations: 154.1 MB / 1.133 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04788/0.9777, allocations: 35.19 MB / 1.167 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008387/0.9861, allocations: 147.2 kB / 1.167 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.9897, allocations: 0.8315 MB / 1.168 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0085/0.9983, allocations: 2.868 MB / 1.171 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006745/1.005, allocations: 2.271 MB / 1.173 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00874/1.014, allocations: 7.357 MB / 1.18 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003915/1.018, allocations: 1.873 MB / 1.182 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/1.024, allocations: 2.414 MB / 1.184 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/1.028, allocations: 1.965 MB / 1.186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0008136/1.029, allocations: 119.2 kB / 1.186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/1.033, allocations: 0.9583 MB / 1.187 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000997/1.034, allocations: 470.9 kB / 1.188 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003043/1.037, allocations: 1.158 MB / 1.189 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006047/1.043, allocations: 3.156 MB / 1.192 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.043, allocations: 0 / 1.192 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.743e-06/1.043, allocations: 0 / 1.192 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.313e-05/1.043, allocations: 0 / 1.192 GB, free: 7.777 MB / 0.7761 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.006503/1.049, allocations: 2.753 MB / 1.195 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.05, allocations: 10.09 kB / 1.195 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005985/1.05, allocations: 257.3 kB / 1.195 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.053, allocations: 1.426 MB / 1.196 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/1.053, allocations: 104.8 kB / 1.196 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.053, allocations: 136.8 kB / 1.197 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.055, allocations: 1.17 MB / 1.198 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/1.055, allocations: 0 / 1.198 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.055, allocations: 49.16 kB / 1.198 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/1.055, allocations: 28.31 kB / 1.198 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/1.057, allocations: 1.01 MB / 1.199 GB, free: 4.098 MB / 0.7761 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.01095/1.068, allocations: 6.297 MB / 1.205 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/1.069, allocations: 0.5622 MB / 1.206 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/1.07, allocations: 381 kB / 1.206 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000478/1.07, allocations: 0.5142 MB / 1.206 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/1.071, allocations: 37.91 kB / 1.206 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002/1.073, allocations: 330.9 kB / 1.207 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=58): time 4.669e-06/1.073, allocations: 0 / 1.207 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of matching and sorting (n=58): time 0.002369/1.075, allocations: 1.118 MB / 1.208 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.075, allocations: 61.12 kB / 1.208 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/1.078, allocations: 1.846 MB / 1.21 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/1.078, allocations: 47.92 kB / 1.21 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/1.079, allocations: 0.9091 MB / 1.211 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.079, allocations: 205.3 kB / 1.211 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/1.079, allocations: 295.4 kB / 1.211 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.079, allocations: 350.7 kB / 1.211 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/1.08, allocations: 446.8 kB / 1.212 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.081, allocations: 0.6797 MB / 1.213 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.083, allocations: 0.9514 MB / 1.213 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.083, allocations: 1.594 kB / 1.213 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003008/1.086, allocations: 1.396 MB / 1.215 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.086, allocations: 10.91 kB / 1.215 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.086, allocations: 4.219 kB / 1.215 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.086, allocations: 11.78 kB / 1.215 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.087, allocations: 289 kB / 1.215 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.088, allocations: 13.47 kB / 1.215 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.09, allocations: 152.2 kB / 1.215 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.09, allocations: 60.33 kB / 1.215 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001464/1.091, allocations: 0.7022 MB / 1.216 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/1.092, allocations: 0.6558 MB / 1.217 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/1.094, allocations: 0.9083 MB / 1.218 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/1.094, allocations: 1.156 kB / 1.218 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002881/1.097, allocations: 1.348 MB / 1.219 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.097, allocations: 9.281 kB / 1.219 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.097, allocations: 2.781 kB / 1.219 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.097, allocations: 10.34 kB / 1.219 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.098, allocations: 282 kB / 1.219 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/1.098, allocations: 10.52 kB / 1.219 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.1, allocations: 162.1 kB / 1.219 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.1, allocations: 56.3 kB / 1.219 GB, free: 8.594 MB / 0.7917 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.0003598/1.101, allocations: 235.4 kB / 1.22 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/1.101, allocations: 201.6 kB / 1.22 GB, free: 8.262 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/1.103, allocations: 1.064 MB / 1.221 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.103, allocations: 12.42 kB / 1.221 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.103, allocations: 3.938 kB / 1.221 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.103, allocations: 4.719 kB / 1.221 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/1.108, allocations: 2.385 MB / 1.223 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.108, allocations: 1.188 kB / 1.223 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/1.108, allocations: 135.7 kB / 1.223 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.108, allocations: 4.406 kB / 1.223 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.108, allocations: 22.02 kB / 1.223 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.108, allocations: 6.062 kB / 1.223 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.108, allocations: 6.312 kB / 1.223 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.112, allocations: 2.381 MB / 1.226 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009377/1.113, allocations: 344.8 kB / 1.226 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/1.113, allocations: 19.17 kB / 1.226 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.114, allocations: 95.11 kB / 1.226 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.114, allocations: 54.2 kB / 1.226 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/1.114, allocations: 25.06 kB / 1.226 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001864/1.116, allocations: 1.221 MB / 1.227 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.3e-07/1.116, allocations: 0 / 1.227 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003487/1.12, allocations: 0.9093 MB / 1.228 GB, free: 4.156 MB / 0.7917 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.0009368/1.121, allocations: 343.6 kB / 1.229 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00322/1.124, allocations: 1.599 MB / 1.23 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.124, allocations: 384 / 1.23 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/1.124, allocations: 401.2 kB / 1.231 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006312/1.131, allocations: 1.155 MB / 1.232 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/1.136, allocations: 4.055 MB / 1.236 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/1.137, allocations: 1.416 MB / 1.237 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002197/1.14, allocations: 402.6 kB / 1.237 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/1.14, allocations: 156.2 kB / 1.238 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of SimCode: time 1.052e-06/1.14, allocations: 0 / 1.238 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of Templates: time 0.06851/1.208, allocations: 38.61 MB / 1.275 GB, free: 10.25 MB / 0.8386 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)