Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000875/0.0008752, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006001/0.006001, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003871, allocations: 9.844 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.383, allocations: 162.1 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0192/0.4022, allocations: 18.77 MB / 1.092 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007872/0.4102, allocations: 5.13 MB / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.411, allocations: 15.88 kB / 1.097 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.4118, allocations: 214.7 kB / 1.098 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.414, allocations: 0.7035 MB / 1.098 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.4163, allocations: 0.7976 MB / 1.099 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.4187, allocations: 1.935 MB / 1.101 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.4195, allocations: 444.9 kB / 1.101 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.4205, allocations: 0.5601 MB / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.4213, allocations: 0.5133 MB / 1.103 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.4213, allocations: 28 kB / 1.103 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.4228, allocations: 0.6549 MB / 1.103 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.423, allocations: 131.4 kB / 1.103 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.4235, allocations: 375.6 kB / 1.104 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4249, allocations: 1.039 MB / 1.105 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4249, allocations: 0 / 1.105 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.238e-06/0.4249, allocations: 3.938 kB / 1.105 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.425, allocations: 3.938 kB / 1.105 GB, free: 8.16 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.002031/0.427, allocations: 0.993 MB / 1.106 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.4271, allocations: 8.031 kB / 1.106 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.4272, allocations: 83.98 kB / 1.106 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.428, allocations: 0.5069 MB / 1.106 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.428, allocations: 40.94 kB / 1.106 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.4281, allocations: 48 kB / 1.106 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4292, allocations: 0.645 MB / 1.107 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4292, allocations: 3.938 kB / 1.107 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.4293, allocations: 20 kB / 1.107 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4293, allocations: 12 kB / 1.107 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.4304, allocations: 0.5151 MB / 1.107 GB, free: 5.133 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.003643/0.4341, allocations: 3.205 MB / 1.111 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.4348, allocations: 362.7 kB / 1.111 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.4354, allocations: 246.6 kB / 1.111 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.4357, allocations: 348.4 kB / 1.112 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4358, allocations: 42.55 kB / 1.112 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=38): time 1.964e-06/0.4358, allocations: 0 / 1.112 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38): time 0.002306/0.4381, allocations: 0.866 MB / 1.112 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4382, allocations: 59.41 kB / 1.112 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.4389, allocations: 0.5938 MB / 1.113 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.439, allocations: 29.7 kB / 1.113 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.4393, allocations: 332.4 kB / 1.113 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.4394, allocations: 126.2 kB / 1.114 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.4395, allocations: 53.69 kB / 1.114 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4397, allocations: 374.8 kB / 1.114 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.4402, allocations: 229.2 kB / 1.114 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.4409, allocations: 388 kB / 1.115 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.442, allocations: 0.5977 MB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.442, allocations: 0 / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001589/0.4436, allocations: 0.7539 MB / 1.116 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.4438, allocations: 228.6 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4438, allocations: 8 kB / 1.116 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.4445, allocations: 156.7 kB / 1.116 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.4451, allocations: 147.8 kB / 1.116 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006007/0.4457, allocations: 0.6225 MB / 1.117 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.4464, allocations: 107.3 kB / 1.117 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.4464, allocations: 27.98 kB / 1.117 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.4464, allocations: 4 kB / 1.117 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/0.4477, allocations: 0.6228 MB / 1.118 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4477, allocations: 8 kB / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.4478, allocations: 4.562 kB / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.4484, allocations: 167.8 kB / 1.118 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4484, allocations: 15.92 kB / 1.118 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.449, allocations: 87.48 kB / 1.118 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.4491, allocations: 35.97 kB / 1.118 GB, free: 9.766 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.0003933/0.4495, allocations: 273.4 kB / 1.118 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4496, allocations: 63.16 kB / 1.118 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.4512, allocations: 0.6756 MB / 1.119 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4512, allocations: 4.094 kB / 1.119 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.4513, allocations: 7.969 kB / 1.119 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4513, allocations: 0 / 1.119 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.454, allocations: 1.398 MB / 1.12 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.454, allocations: 4.031 kB / 1.12 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.4544, allocations: 87.89 kB / 1.12 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.4548, allocations: 136.8 kB / 1.121 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.4549, allocations: 15.98 kB / 1.121 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/0.4555, allocations: 0.6304 MB / 1.121 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4555, allocations: 3.938 kB / 1.121 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4569, allocations: 0.7362 MB / 1.122 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.4572, allocations: 207.9 kB / 1.122 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.4572, allocations: 8 kB / 1.122 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.4577, allocations: 59.94 kB / 1.122 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.4578, allocations: 23.97 kB / 1.122 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.4579, allocations: 27.92 kB / 1.122 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005637/0.4584, allocations: 407.1 kB / 1.123 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4584, allocations: 0 / 1.123 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001217/0.4597, allocations: 379.4 kB / 1.123 GB, free: 4.488 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.0006682/0.4603, allocations: 303.8 kB / 1.123 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.4624, allocations: 0.9059 MB / 1.124 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4624, allocations: 0.625 kB / 1.124 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.4631, allocations: 299.7 kB / 1.124 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.4648, allocations: 277.2 kB / 1.125 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4669, allocations: 1.347 MB / 1.126 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.4674, allocations: 0.9119 MB / 1.127 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006007/0.468, allocations: 160.2 kB / 1.127 GB, free: 260 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4682, allocations: 59.42 kB / 1.127 GB, free: 200 kB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.4682, allocations: 0 / 1.127 GB, free: 200 kB / 0.8731 GB Notification: Performance of Templates: time 0.02265/0.4909, allocations: 12.2 MB / 1.139 GB, free: 4.148 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)