Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 303.7 MB, free: 8.051 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.001/0.0009999, allocations: 174.1 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0009745/0.0009746, allocations: 102.8 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004955, allocations: 12.44 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.277, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01476/0.2918, allocations: 17.98 MB / 0.9977 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3038, allocations: 7.722 MB / 1.005 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3051, allocations: 35.69 kB / 1.005 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.3059, allocations: 186.7 kB / 1.005 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.3083, allocations: 0.6662 MB / 1.006 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.3108, allocations: 0.7321 MB / 1.007 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3131, allocations: 1.7 MB / 1.008 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.3138, allocations: 428.8 kB / 1.009 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009651/0.3148, allocations: 0.5524 MB / 1.009 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.3154, allocations: 493.9 kB / 1.01 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.3154, allocations: 28 kB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3168, allocations: 0.6354 MB / 1.011 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3169, allocations: 123.4 kB / 1.011 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.3174, allocations: 352 kB / 1.011 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.3185, allocations: 0.7598 MB / 1.012 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3185, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3186, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3186, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.6355 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.001942/0.3205, allocations: 0.9786 MB / 1.013 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3206, allocations: 11.97 kB / 1.013 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3208, allocations: 83.91 kB / 1.013 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.3215, allocations: 0.4989 MB / 1.013 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3216, allocations: 41 kB / 1.013 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.3216, allocations: 48 kB / 1.013 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.3227, allocations: 0.6294 MB / 1.014 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3228, allocations: 3.938 kB / 1.014 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.3228, allocations: 27.97 kB / 1.014 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3228, allocations: 12 kB / 1.014 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3239, allocations: 0.5151 MB / 1.015 GB, free: 7.871 MB / 0.6355 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.003502/0.3274, allocations: 3.197 MB / 1.018 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.3281, allocations: 362.5 kB / 1.018 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.3286, allocations: 251.2 kB / 1.018 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.329, allocations: 344.4 kB / 1.019 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3291, allocations: 38.59 kB / 1.019 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.936e-06/0.3291, allocations: 0 / 1.019 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002205/0.3313, allocations: 0.869 MB / 1.019 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3313, allocations: 55.41 kB / 1.019 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.332, allocations: 0.5704 MB / 1.02 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.3321, allocations: 33.7 kB / 1.02 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.3323, allocations: 332.4 kB / 1.02 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3324, allocations: 130.1 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.3325, allocations: 12 kB / 1.021 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3326, allocations: 374.7 kB / 1.021 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3331, allocations: 229.1 kB / 1.021 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.3337, allocations: 368 kB / 1.021 GB, free: 348 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3348, allocations: 0.5745 MB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3348, allocations: 8 kB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001459/0.3363, allocations: 0.7304 MB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.3365, allocations: 223.2 kB / 1.023 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3365, allocations: 4 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.3371, allocations: 144.8 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.3378, allocations: 159.8 kB / 1.023 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007069/0.3385, allocations: 0.6265 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/0.3392, allocations: 103.3 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.3392, allocations: 27.98 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3393, allocations: 9.562 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/0.3406, allocations: 0.6233 MB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3406, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.3406, allocations: 8 kB / 1.025 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.3412, allocations: 167.7 kB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3412, allocations: 11.94 kB / 1.025 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.3417, allocations: 95.58 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.3418, allocations: 31.92 kB / 1.025 GB, free: 12.64 MB / 0.6511 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.3421, allocations: 268.9 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3423, allocations: 67.16 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.3438, allocations: 0.6669 MB / 1.026 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3439, allocations: 11.98 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3439, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3439, allocations: 3.938 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.3464, allocations: 1.404 MB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3464, allocations: 0 / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.3468, allocations: 87.88 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.3472, allocations: 140.9 kB / 1.027 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.3473, allocations: 12 kB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006136/0.3479, allocations: 0.6304 MB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3479, allocations: 4.031 kB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3492, allocations: 0.7205 MB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3495, allocations: 204 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.3496, allocations: 11.98 kB / 1.029 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.35, allocations: 55.86 kB / 1.029 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.3501, allocations: 35.95 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.3502, allocations: 19.98 kB / 1.029 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004711/0.3506, allocations: 391 kB / 1.03 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3506, allocations: 0 / 1.03 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001191/0.3518, allocations: 387.4 kB / 1.03 GB, free: 7.391 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007322/0.3526, allocations: 295.1 kB / 1.03 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.3554, allocations: 0.9137 MB / 1.031 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3554, allocations: 4 kB / 1.031 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/0.3561, allocations: 299.8 kB / 1.031 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.3578, allocations: 275.2 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3599, allocations: 1.279 MB / 1.033 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.3604, allocations: 0.9155 MB / 1.034 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006034/0.361, allocations: 154.1 kB / 1.034 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3612, allocations: 59.42 kB / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/0.3612, allocations: 0 / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of Templates: time 0.02266/0.3838, allocations: 11.98 MB / 1.046 GB, free: 7.32 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)