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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001248, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 69.42 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01988/0.3606, allocations: 19.36 MB / 1.086 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007646/0.3683, allocations: 5.183 MB / 1.091 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/0.3692, allocations: 19.88 kB / 1.092 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.3701, allocations: 206.7 kB / 1.092 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.372, allocations: 0.7074 MB / 1.092 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.3742, allocations: 0.7807 MB / 1.093 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3764, allocations: 1.942 MB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.377, allocations: 457.4 kB / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.378, allocations: 0.5717 MB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.3787, allocations: 0.529 MB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.3788, allocations: 32 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3799, allocations: 0.6627 MB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3801, allocations: 139.3 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.3805, allocations: 358 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3816, allocations: 1.055 MB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3817, allocations: 0 / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3817, allocations: 4 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3817, allocations: 0 / 1.099 GB, free: 10.84 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.001933/0.3836, allocations: 1.102 MB / 1.1 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3837, allocations: 12.03 kB / 1.1 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.3838, allocations: 83.91 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.3845, allocations: 0.4992 MB / 1.1 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.3845, allocations: 37 kB / 1.1 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.3846, allocations: 48 kB / 1.1 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3857, allocations: 0.6216 MB / 1.101 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3857, allocations: 3.938 kB / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.3858, allocations: 24 kB / 1.101 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3858, allocations: 12 kB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3869, allocations: 491.4 kB / 1.102 GB, free: 7.762 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.003563/0.3905, allocations: 3.197 MB / 1.105 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.3912, allocations: 346.8 kB / 1.105 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.3917, allocations: 234.6 kB / 1.105 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/0.3921, allocations: 344.4 kB / 1.106 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.3922, allocations: 42.55 kB / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=38): time 1.984e-06/0.3922, allocations: 0 / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38): time 0.002241/0.3944, allocations: 0.8112 MB / 1.106 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3945, allocations: 55.41 kB / 1.106 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.3952, allocations: 0.5861 MB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.3952, allocations: 37.7 kB / 1.107 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.3955, allocations: 328.3 kB / 1.107 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3956, allocations: 134.1 kB / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.3958, allocations: 122.2 kB / 1.108 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.396, allocations: 378.8 kB / 1.108 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.3965, allocations: 219.3 kB / 1.108 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.3972, allocations: 368 kB / 1.109 GB, free: 188 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3985, allocations: 0.5743 MB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3985, allocations: 0 / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001613/0.4001, allocations: 0.7266 MB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4001, allocations: 8 kB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4002, allocations: 12.02 kB / 1.11 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.4008, allocations: 132.7 kB / 1.11 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.4015, allocations: 135.8 kB / 1.11 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/0.4022, allocations: 0.6187 MB / 1.111 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.4029, allocations: 95.28 kB / 1.111 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.4029, allocations: 35.98 kB / 1.111 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006543/0.4036, allocations: 349.3 kB / 1.111 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006219/0.4042, allocations: 368 kB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00109/0.4053, allocations: 0.5549 MB / 1.112 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-06/0.4054, allocations: 3.984 kB / 1.112 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001453/0.4068, allocations: 0.6745 MB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4068, allocations: 10.12 kB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4069, allocations: 4 kB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4069, allocations: 12 kB / 1.113 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.4075, allocations: 151.8 kB / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4075, allocations: 12 kB / 1.113 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.4081, allocations: 91.41 kB / 1.113 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.4081, allocations: 31.98 kB / 1.113 GB, free: 11.37 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.000205/0.4084, allocations: 208.9 kB / 1.113 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4085, allocations: 67.16 kB / 1.113 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.41, allocations: 0.6412 MB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.41, allocations: 4 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4101, allocations: 7.875 kB / 1.114 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4101, allocations: 8.078 kB / 1.114 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.4126, allocations: 1.359 MB / 1.115 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4126, allocations: 4 kB / 1.115 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.4129, allocations: 87.97 kB / 1.115 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.4133, allocations: 112.7 kB / 1.115 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.4134, allocations: 12 kB / 1.115 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/0.414, allocations: 0.6304 MB / 1.116 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.414, allocations: 0 / 1.116 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4154, allocations: 0.701 MB / 1.117 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4156, allocations: 192.1 kB / 1.117 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.4157, allocations: 12 kB / 1.117 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.4162, allocations: 51.88 kB / 1.117 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.4163, allocations: 27.97 kB / 1.117 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.4163, allocations: 19.98 kB / 1.117 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004571/0.4168, allocations: 403.1 kB / 1.117 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4168, allocations: 0 / 1.117 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001133/0.4179, allocations: 387.3 kB / 1.118 GB, free: 6.32 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.0006479/0.4186, allocations: 301.8 kB / 1.118 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.4206, allocations: 0.879 MB / 1.119 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4206, allocations: 0 / 1.119 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.4213, allocations: 275.7 kB / 1.119 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4228, allocations: 274.1 kB / 1.119 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.4247, allocations: 1.317 MB / 1.121 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4251, allocations: 0.908 MB / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005714/0.4257, allocations: 156.4 kB / 1.122 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.4259, allocations: 59.42 kB / 1.122 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.4259, allocations: 3.938 kB / 1.122 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of Templates: time 0.02366/0.4496, allocations: 12.29 MB / 1.134 GB, free: 5.969 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)