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.001581/0.001587, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 73.23 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3759, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03035/0.4063, allocations: 30.75 MB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4207, allocations: 10.85 MB / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.4225, allocations: 19.88 kB / 1.109 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.424, allocations: 405.2 kB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.4279, allocations: 1.142 MB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.4307, allocations: 0.8392 MB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.4338, allocations: 2.061 MB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.4349, allocations: 0.6856 MB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.4373, allocations: 0.9726 MB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.4385, allocations: 0.6807 MB / 1.115 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4386, allocations: 52 kB / 1.115 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.4402, allocations: 0.6122 MB / 1.116 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4404, allocations: 171.3 kB / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005656/0.441, allocations: 437.6 kB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.4428, allocations: 1.075 MB / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4428, allocations: 0 / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4429, allocations: 0 / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.4429, allocations: 0 / 1.118 GB, free: 7.52 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.001951/0.4448, allocations: 1.16 MB / 1.119 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4449, allocations: 8.031 kB / 1.119 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.4451, allocations: 95.81 kB / 1.119 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.4458, allocations: 0.5695 MB / 1.119 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.4459, allocations: 45 kB / 1.12 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.446, allocations: 52 kB / 1.12 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.4467, allocations: 414.4 kB / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4467, allocations: 0 / 1.12 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.4468, allocations: 20 kB / 1.12 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4468, allocations: 15.94 kB / 1.12 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.4474, allocations: 299.8 kB / 1.12 GB, free: 4.762 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.002901/0.4503, allocations: 1.877 MB / 1.122 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.4506, allocations: 162.5 kB / 1.122 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.4508, allocations: 88.73 kB / 1.122 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.4511, allocations: 336.4 kB / 1.123 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4512, allocations: 38.52 kB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.4512, allocations: 0 / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0007828/0.452, allocations: 302.7 kB / 1.123 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.452, allocations: 63.3 kB / 1.123 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.4528, allocations: 0.6843 MB / 1.124 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.4529, allocations: 33.7 kB / 1.124 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.4532, allocations: 368.7 kB / 1.124 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.4532, allocations: 63.05 kB / 1.124 GB, free: 500 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.4534, allocations: 93.95 kB / 1.124 GB, free: 400 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4535, allocations: 378.7 kB / 1.125 GB, free: 12 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4538, allocations: 114.3 kB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.4541, allocations: 183.7 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.4546, allocations: 236.9 kB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4546, allocations: 0 / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007177/0.4553, allocations: 393.8 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4554, allocations: 12 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4554, allocations: 0 / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4554, allocations: 0 / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4564, allocations: 155.9 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4578, allocations: 2.368 MB / 1.128 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.4583, allocations: 51.59 kB / 1.128 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.4584, allocations: 19.98 kB / 1.128 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004429/0.4588, allocations: 249.6 kB / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000284/0.4591, allocations: 183.5 kB / 1.128 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004176/0.4595, allocations: 233.2 kB / 1.129 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.4596, allocations: 0 / 1.129 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006809/0.4602, allocations: 384.6 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4603, allocations: 8 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4603, allocations: 0 / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.4603, allocations: 4 kB / 1.129 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.4607, allocations: 103.7 kB / 1.129 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4607, allocations: 4 kB / 1.129 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.4612, allocations: 47.75 kB / 1.129 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4612, allocations: 20.03 kB / 1.129 GB, free: 11.12 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.0001833/0.4614, allocations: 203.3 kB / 1.129 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4615, allocations: 71.06 kB / 1.13 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.4622, allocations: 314.4 kB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4623, allocations: 3.984 kB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4623, allocations: 0 / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4623, allocations: 0 / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4636, allocations: 0.8955 MB / 1.131 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4636, allocations: 0 / 1.131 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.4639, allocations: 67.94 kB / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.464, allocations: 0 / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.464, allocations: 11.92 kB / 1.131 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4651, allocations: 2.352 MB / 1.133 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4651, allocations: 288 / 1.133 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.4657, allocations: 400.3 kB / 1.133 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.4659, allocations: 164.2 kB / 1.134 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.466, allocations: 8 kB / 1.134 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.4663, allocations: 23.97 kB / 1.134 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.4664, allocations: 11.98 kB / 1.134 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.4664, allocations: 8 kB / 1.134 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005568/0.4669, allocations: 482.9 kB / 1.134 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.673e-06/0.467, allocations: 0 / 1.134 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009164/0.4679, allocations: 351.1 kB / 1.134 GB, free: 5.582 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.0005755/0.4685, allocations: 257.8 kB / 1.135 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.4701, allocations: 0.4992 MB / 1.135 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4701, allocations: 0 / 1.135 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.4705, allocations: 131.8 kB / 1.135 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.4721, allocations: 328.5 kB / 1.136 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4739, allocations: 1.13 MB / 1.137 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.4744, allocations: 0.9296 MB / 1.138 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004565/0.4749, allocations: 120.2 kB / 1.138 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.475, allocations: 43.44 kB / 1.138 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of SimCode: time 8.62e-07/0.475, allocations: 0 / 1.138 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of Templates: time 0.02482/0.4998, allocations: 12.57 MB / 1.15 GB, free: 5.734 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)