Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001913/0.001913, allocations: 190.2 kB / 16.25 MB, free: 6.629 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.03 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3814, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01984/0.4013, allocations: 19.33 MB / 1.087 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007529/0.4088, allocations: 5.125 MB / 1.092 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.4098, allocations: 19.88 kB / 1.092 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.4106, allocations: 222.7 kB / 1.092 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.4125, allocations: 0.7152 MB / 1.092 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.4145, allocations: 0.7859 MB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.4164, allocations: 1.552 MB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/0.417, allocations: 0.5095 MB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009885/0.418, allocations: 0.6304 MB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.4187, allocations: 0.5484 MB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.4188, allocations: 56 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.4199, allocations: 0.6979 MB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.4201, allocations: 163.4 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.4205, allocations: 381.9 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4219, allocations: 1.071 MB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4219, allocations: 0 / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4219, allocations: 3.938 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4219, allocations: 7.922 kB / 1.099 GB, free: 10.92 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001955/0.4239, allocations: 1.102 MB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4239, allocations: 8.031 kB / 1.1 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.4241, allocations: 83.91 kB / 1.1 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.4248, allocations: 0.507 MB / 1.1 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.4249, allocations: 37 kB / 1.1 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.425, allocations: 48 kB / 1.1 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.426, allocations: 0.6216 MB / 1.101 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4261, allocations: 4 kB / 1.101 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.4261, allocations: 20 kB / 1.101 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4262, allocations: 12 kB / 1.101 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4272, allocations: 499.4 kB / 1.102 GB, free: 7.836 MB / 0.8575 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.003498/0.4307, allocations: 3.197 MB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.4314, allocations: 338.8 kB / 1.105 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.4319, allocations: 234.6 kB / 1.105 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.4323, allocations: 348.4 kB / 1.106 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4323, allocations: 34.56 kB / 1.106 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=38): time 1.743e-06/0.4323, allocations: 0 / 1.106 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38): time 0.002104/0.4344, allocations: 0.8073 MB / 1.106 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4345, allocations: 59.41 kB / 1.106 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.4352, allocations: 0.59 MB / 1.107 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.4352, allocations: 37.7 kB / 1.107 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4355, allocations: 324.4 kB / 1.107 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4356, allocations: 134.1 kB / 1.108 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.4358, allocations: 122.2 kB / 1.108 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4359, allocations: 374.8 kB / 1.108 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.4364, allocations: 223.3 kB / 1.108 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.4371, allocations: 376 kB / 1.109 GB, free: 272 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4381, allocations: 0.5704 MB / 1.109 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4382, allocations: 4 kB / 1.109 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001446/0.4396, allocations: 0.7182 MB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4396, allocations: 9.406 kB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4397, allocations: 4.562 kB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.4403, allocations: 140.7 kB / 1.11 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.4409, allocations: 139.8 kB / 1.11 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005732/0.4415, allocations: 0.6187 MB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4421, allocations: 99.17 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.4421, allocations: 32.05 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006309/0.4428, allocations: 345.3 kB / 1.111 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005767/0.4434, allocations: 368 kB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001017/0.4444, allocations: 0.5627 MB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.4444, allocations: 0 / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001349/0.4458, allocations: 0.6745 MB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4458, allocations: 4 kB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4458, allocations: 8.562 kB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.4458, allocations: 8 kB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.4464, allocations: 159.8 kB / 1.113 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4465, allocations: 8 kB / 1.113 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.447, allocations: 87.42 kB / 1.113 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.4471, allocations: 31.92 kB / 1.113 GB, free: 11.46 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.4473, allocations: 208.1 kB / 1.113 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4475, allocations: 67.3 kB / 1.113 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.4493, allocations: 0.6463 MB / 1.114 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4493, allocations: 7.984 kB / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4493, allocations: 3.938 kB / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4493, allocations: 0 / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.4523, allocations: 1.363 MB / 1.115 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4523, allocations: 0 / 1.115 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.4527, allocations: 87.92 kB / 1.115 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.4531, allocations: 112.7 kB / 1.115 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.4531, allocations: 8 kB / 1.115 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007271/0.4539, allocations: 0.6383 MB / 1.116 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4539, allocations: 0 / 1.116 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4554, allocations: 0.7009 MB / 1.117 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.4557, allocations: 192.1 kB / 1.117 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4558, allocations: 8 kB / 1.117 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.4564, allocations: 55.88 kB / 1.117 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.4565, allocations: 23.97 kB / 1.117 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.4565, allocations: 23.98 kB / 1.117 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005281/0.4571, allocations: 403.1 kB / 1.117 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4571, allocations: 0 / 1.117 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001465/0.4586, allocations: 391.3 kB / 1.118 GB, free: 6.402 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008038/0.4594, allocations: 296.2 kB / 1.118 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.4617, allocations: 0.9026 MB / 1.119 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4617, allocations: 0 / 1.119 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.4624, allocations: 279.7 kB / 1.119 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4636, allocations: 233.1 kB / 1.119 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.4658, allocations: 1.316 MB / 1.121 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4663, allocations: 0.9155 MB / 1.122 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006151/0.4669, allocations: 149.3 kB / 1.122 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.4671, allocations: 63.42 kB / 1.122 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/0.4671, allocations: 0 / 1.122 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of Templates: time 0.02224/0.4893, allocations: 12.47 MB / 1.134 GB, free: 5.906 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)