Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 188.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 66.19 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3725, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03501/0.4076, allocations: 30.59 MB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4238, allocations: 10.85 MB / 1.108 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.4256, allocations: 23.81 kB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.4272, allocations: 318.2 kB / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.4314, allocations: 1.054 MB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.4342, allocations: 0.7623 MB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.4384, allocations: 2.845 MB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4397, allocations: 0.579 MB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.4422, allocations: 0.8983 MB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.4438, allocations: 0.6884 MB / 1.115 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.444, allocations: 36 kB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.4458, allocations: 0.577 MB / 1.116 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.4461, allocations: 151.3 kB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.4468, allocations: 421.6 kB / 1.116 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.449, allocations: 1.047 MB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.449, allocations: 7.984 kB / 1.117 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.533e-06/0.449, allocations: 0 / 1.117 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.848e-05/0.4491, allocations: 0 / 1.117 GB, free: 7.918 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002439/0.4515, allocations: 1.164 MB / 1.118 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4516, allocations: 12.03 kB / 1.118 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.4518, allocations: 95.81 kB / 1.118 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4528, allocations: 0.5617 MB / 1.119 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.4529, allocations: 41 kB / 1.119 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.453, allocations: 52 kB / 1.119 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.4538, allocations: 414.4 kB / 1.119 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4538, allocations: 0 / 1.119 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4539, allocations: 20 kB / 1.119 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4539, allocations: 12 kB / 1.119 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.4546, allocations: 311.7 kB / 1.12 GB, free: 5.156 MB / 0.8731 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.003233/0.4578, allocations: 1.842 MB / 1.122 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.4583, allocations: 174.4 kB / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4585, allocations: 82.88 kB / 1.122 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.4588, allocations: 336.4 kB / 1.122 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4588, allocations: 42.52 kB / 1.122 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.4588, allocations: 0 / 1.122 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008119/0.4597, allocations: 300.6 kB / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.4597, allocations: 59.3 kB / 1.122 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.4606, allocations: 0.6843 MB / 1.123 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.4606, allocations: 33.7 kB / 1.123 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.4609, allocations: 368.7 kB / 1.124 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.461, allocations: 63.05 kB / 1.124 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.4611, allocations: 97.95 kB / 1.124 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4613, allocations: 374.7 kB / 1.124 GB, free: 452 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.4616, allocations: 118.3 kB / 1.124 GB, free: 332 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.4619, allocations: 179.8 kB / 1.124 GB, free: 132 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.4624, allocations: 244.9 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4624, allocations: 0 / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000798/0.4632, allocations: 393.9 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4633, allocations: 8 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4633, allocations: 0 / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4633, allocations: 4 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4644, allocations: 155.9 kB / 1.125 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.4658, allocations: 2.368 MB / 1.127 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.4664, allocations: 83.66 kB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.4665, allocations: 16 kB / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004366/0.4669, allocations: 247.8 kB / 1.128 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000297/0.4672, allocations: 179.3 kB / 1.128 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004435/0.4677, allocations: 233.2 kB / 1.128 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.4677, allocations: 0 / 1.128 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007694/0.4685, allocations: 376.4 kB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4685, allocations: 5.516 kB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.4685, allocations: 7.969 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.4685, allocations: 11.92 kB / 1.129 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.469, allocations: 107.8 kB / 1.129 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4691, allocations: 0 / 1.129 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.4697, allocations: 71.62 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.4697, allocations: 16 kB / 1.129 GB, free: 11.5 MB / 0.8887 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.4699, allocations: 192.5 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.47, allocations: 71.14 kB / 1.129 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.4708, allocations: 310 kB / 1.129 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4708, allocations: 3.938 kB / 1.129 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4708, allocations: 7.984 kB / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4708, allocations: 192 / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4723, allocations: 0.8928 MB / 1.13 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4723, allocations: 0 / 1.13 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.4726, allocations: 68.02 kB / 1.13 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.4726, allocations: 7.984 kB / 1.13 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.4727, allocations: 8.125 kB / 1.13 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.4739, allocations: 2.356 MB / 1.133 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4739, allocations: 0 / 1.133 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.4745, allocations: 398 kB / 1.133 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4748, allocations: 168.1 kB / 1.133 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4749, allocations: 8 kB / 1.133 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.4753, allocations: 47.95 kB / 1.133 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.4754, allocations: 15.97 kB / 1.133 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4754, allocations: 12 kB / 1.133 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005893/0.476, allocations: 475 kB / 1.134 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.476, allocations: 8 kB / 1.134 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001025/0.4771, allocations: 351 kB / 1.134 GB, free: 5.922 MB / 0.8887 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006407/0.4777, allocations: 251.7 kB / 1.134 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.4795, allocations: 0.4914 MB / 1.135 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4795, allocations: 4 kB / 1.135 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.48, allocations: 131.8 kB / 1.135 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.4821, allocations: 378.6 kB / 1.135 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.4849, allocations: 1.357 MB / 1.136 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.4856, allocations: 0.9293 MB / 1.137 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007731/0.4864, allocations: 117.7 kB / 1.138 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4866, allocations: 47.42 kB / 1.138 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of SimCode: time 1.052e-06/0.4866, allocations: 0 / 1.138 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of Templates: time 0.02495/0.5115, allocations: 12.42 MB / 1.15 GB, free: 5.961 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)