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.591/1.591, allocations: 285.4 MB / 298 MB, free: 6.047 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.001512/0.001512, allocations: 180.3 kB / 366.4 MB, free: 2.133 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.474/1.474, allocations: 205.1 MB / 0.6248 GB, free: 7.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008473/0.0008472, allocations: 100.8 kB / 0.738 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.23e-05, allocations: 4 kB / 0.8583 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6401, allocations: 115.3 MB / 0.9709 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9105/1.551, allocations: 396.7 MB / 1.358 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.551, allocations: 95.62 kB / 1.358 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4444/1.995, allocations: 235.9 MB / 1.589 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/1.995, allocations: 0 / 1.589 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.031e-05/1.995, allocations: 24 kB / 1.589 GB, free: 3.605 MB / 0.9167 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.001669/1.997, allocations: 0.9614 MB / 1.59 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.997, allocations: 12.03 kB / 1.59 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/1.997, allocations: 83.02 kB / 1.59 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/1.998, allocations: 0.5035 MB / 1.59 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/1.998, allocations: 40.94 kB / 1.59 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/1.998, allocations: 52 kB / 1.59 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/1.999, allocations: 0.5627 MB / 1.591 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.999, allocations: 7.891 kB / 1.591 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/1.999, allocations: 24 kB / 1.591 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/1.999, allocations: 16 kB / 1.591 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/2, allocations: 398.7 kB / 1.591 GB, free: 0.8008 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.003423/2.003, allocations: 3.216 MB / 1.595 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/2.004, allocations: 293.3 kB / 1.595 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/2.004, allocations: 184.8 kB / 1.595 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/2.004, allocations: 348.4 kB / 1.595 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/2.004, allocations: 38.56 kB / 1.595 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.645e-06/2.005, allocations: 0 / 1.595 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.0008344/2.005, allocations: 414.1 kB / 1.596 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/2.005, allocations: 59.16 kB / 1.596 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/2.006, allocations: 0.5033 MB / 1.596 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/2.006, allocations: 33.7 kB / 1.596 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/2.006, allocations: 328.3 kB / 1.597 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/2.006, allocations: 134.2 kB / 1.597 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/2.006, allocations: 8 kB / 1.597 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001472/2.007, allocations: 378.7 kB / 1.597 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/2.007, allocations: 161.5 kB / 1.597 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/2.007, allocations: 349.6 kB / 1.598 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/2.008, allocations: 201.5 kB / 1.598 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.008, allocations: 4 kB / 1.598 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001055/2.009, allocations: 0.6129 MB / 1.598 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006089/2.009, allocations: 1.754 MB / 1.6 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.009, allocations: 4 kB / 1.6 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/2.01, allocations: 140.8 kB / 1.6 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/2.011, allocations: 155.7 kB / 1.6 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005527/2.011, allocations: 0.611 MB / 1.601 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/2.012, allocations: 107.4 kB / 1.601 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/2.012, allocations: 35.98 kB / 1.601 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/2.012, allocations: 4 kB / 1.601 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000844/2.013, allocations: 0.51 MB / 1.602 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/2.013, allocations: 4 kB / 1.602 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/2.013, allocations: 15.89 kB / 1.602 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/2.013, allocations: 159.8 kB / 1.602 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/2.013, allocations: 11.98 kB / 1.602 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/2.014, allocations: 95.52 kB / 1.602 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/2.014, allocations: 36.11 kB / 1.602 GB, free: 5.379 MB / 0.9323 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 () * 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.0001413/2.014, allocations: 140.8 kB / 1.602 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/2.014, allocations: 71.23 kB / 1.602 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/2.015, allocations: 0.5576 MB / 1.603 GB, free: 4.598 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/2.015, allocations: 11.94 kB / 1.603 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/2.015, allocations: 0 / 1.603 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.016, allocations: 0 / 1.603 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/2.018, allocations: 1.27 MB / 1.604 GB, free: 3.242 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.018, allocations: 0 / 1.604 GB, free: 3.242 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/2.018, allocations: 95.97 kB / 1.604 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/2.018, allocations: 116.8 kB / 1.604 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/2.018, allocations: 16 kB / 1.604 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005233/2.019, allocations: 0.6187 MB / 1.605 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.019, allocations: 0 / 1.605 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/2.02, allocations: 0.6627 MB / 1.605 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/2.02, allocations: 196 kB / 1.606 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/2.02, allocations: 8 kB / 1.606 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/2.021, allocations: 55.94 kB / 1.606 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/2.021, allocations: 35.91 kB / 1.606 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/2.021, allocations: 23.92 kB / 1.606 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004205/2.021, allocations: 387.2 kB / 1.606 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/2.021, allocations: 0 / 1.606 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001309/2.023, allocations: 411.5 kB / 1.606 GB, free: 0.5508 MB / 0.9323 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 () * 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.0008279/2.023, allocations: 426.9 kB / 1.607 GB, free: 124 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001392/2.025, allocations: 0.7674 MB / 1.608 GB, free: 15.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.025, allocations: 1.312 kB / 1.608 GB, free: 15.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004804/2.025, allocations: 247.9 kB / 1.608 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/2.027, allocations: 270.3 kB / 1.608 GB, free: 14.85 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/2.028, allocations: 0.753 MB / 1.609 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/2.028, allocations: 0.9247 MB / 1.61 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006677/2.029, allocations: 168.9 kB / 1.61 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/2.029, allocations: 59.41 kB / 1.61 GB, free: 12.88 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/2.029, allocations: 0 / 1.61 GB, free: 12.88 MB / 0.948 GB Notification: Performance of Templates: time 0.4473/2.477, allocations: 14.22 MB / 1.624 GB, free: 260.7 MB / 0.948 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)