Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.00134/0.00134, allocations: 178.8 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.511/2.511, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.0008729, allocations: 85.48 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006935/0.000694, allocations: 13.31 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.258, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.04176/0.2999, allocations: 27.75 MB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.325, allocations: 10.97 MB / 1.016 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.3268, allocations: 35.62 kB / 1.016 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.3285, allocations: 305.9 kB / 1.016 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.3336, allocations: 1.067 MB / 1.018 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.3379, allocations: 0.9607 MB / 1.018 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006573/0.3445, allocations: 3.512 MB / 1.022 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.3472, allocations: 1.078 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.3514, allocations: 1.449 MB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.3563, allocations: 1.546 MB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009375/0.3573, allocations: 64 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.3609, allocations: 0.8617 MB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.3619, allocations: 330.8 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007346/0.3627, allocations: 245.1 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.3659, allocations: 1.524 MB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.366, allocations: 0 / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.485e-06/0.366, allocations: 0 / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.454e-05/0.3661, allocations: 0 / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003833/0.3699, allocations: 1.34 MB / 1.03 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.37, allocations: 8.031 kB / 1.03 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006976/0.3707, allocations: 150.5 kB / 1.03 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.3736, allocations: 0.8564 MB / 1.031 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3737, allocations: 81.31 kB / 1.031 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.3741, allocations: 116 kB / 1.031 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.3759, allocations: 0.6356 MB / 1.032 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3759, allocations: 4 kB / 1.032 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.376, allocations: 28 kB / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.3761, allocations: 16 kB / 1.032 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.3776, allocations: 472.8 kB / 1.032 GB, free: 4.754 MB / 0.6511 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.007472/0.3851, allocations: 2.871 MB / 1.035 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3862, allocations: 301.2 kB / 1.036 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.3867, allocations: 157.3 kB / 1.036 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/0.3871, allocations: 348.7 kB / 1.036 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3872, allocations: 38.84 kB / 1.036 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.3872, allocations: 0 / 1.036 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002175/0.3894, allocations: 0.547 MB / 1.037 GB, free: 264 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3894, allocations: 63.3 kB / 1.037 GB, free: 188 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.3922, allocations: 0.8869 MB / 1.037 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005737/0.3928, allocations: 53.7 kB / 1.038 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.3943, allocations: 0.5296 MB / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.3947, allocations: 122.4 kB / 1.038 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.3948, allocations: 19.94 kB / 1.038 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.395, allocations: 326 kB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.3961, allocations: 173.2 kB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/0.3999, allocations: 1.147 MB / 1.04 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.4017, allocations: 302.8 kB / 1.04 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4017, allocations: 0 / 1.04 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003631/0.4054, allocations: 0.6461 MB / 1.041 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.4056, allocations: 156.2 kB / 1.041 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.4056, allocations: 4 kB / 1.041 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.4057, allocations: 4 kB / 1.041 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/0.4099, allocations: 239.7 kB / 1.041 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.4132, allocations: 2.957 MB / 1.044 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/0.4235, allocations: 0.7457 MB / 1.045 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.4238, allocations: 27.98 kB / 1.045 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.4238, allocations: 4 kB / 1.045 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002757/0.4266, allocations: 0.4972 MB / 1.045 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4267, allocations: 4 kB / 1.045 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4267, allocations: 4 kB / 1.045 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.4288, allocations: 155.8 kB / 1.045 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-05/0.4289, allocations: 4 kB / 1.045 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00986/0.4388, allocations: 0.7419 MB / 1.046 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.4391, allocations: 23.98 kB / 1.046 GB, free: 5.875 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.4404, allocations: 329.9 kB / 1.046 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.4409, allocations: 98.77 kB / 1.047 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.4439, allocations: 0.517 MB / 1.047 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.444, allocations: 8 kB / 1.047 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4441, allocations: 0 / 1.047 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.4441, allocations: 7.984 kB / 1.047 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.4495, allocations: 1.267 MB / 1.048 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.4496, allocations: 128 / 1.048 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.4512, allocations: 127.8 kB / 1.048 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.4513, allocations: 3.938 kB / 1.048 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.4514, allocations: 16 kB / 1.048 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.4542, allocations: 2.942 MB / 1.051 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4543, allocations: 192 / 1.051 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.4568, allocations: 0.5776 MB / 1.052 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.4578, allocations: 223.7 kB / 1.052 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.4581, allocations: 4 kB / 1.052 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.4597, allocations: 71.72 kB / 1.052 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.46, allocations: 35.91 kB / 1.052 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.4601, allocations: 15.98 kB / 1.052 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00206/0.4622, allocations: 0.5884 MB / 1.053 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.202e-06/0.4622, allocations: 0 / 1.053 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003678/0.4659, allocations: 0.5345 MB / 1.053 GB, free: 14.26 MB / 0.6823 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.4674, allocations: 310.1 kB / 1.054 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007018/0.4745, allocations: 0.8393 MB / 1.054 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.4746, allocations: 0 / 1.054 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4764, allocations: 240.2 kB / 1.055 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007603/0.4841, allocations: 493.5 kB / 1.055 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.4887, allocations: 1.78 MB / 1.057 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000858/0.4896, allocations: 1.025 MB / 1.058 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001741/0.4914, allocations: 211 kB / 1.058 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.4917, allocations: 83.41 kB / 1.058 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/0.4918, allocations: 0 / 1.058 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of Templates: time 0.6805/1.172, allocations: 23.74 MB / 1.081 GB, free: 85.78 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)