Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.464/2.464, allocations: 284.8 MB / 297.3 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 192.2 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 0.6241 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001025, allocations: 104.4 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.244e-05, allocations: 8 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.819, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/2.083, allocations: 396.5 MB / 1.357 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/2.084, allocations: 94.81 kB / 1.357 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8274/2.911, allocations: 235.9 MB / 1.588 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.362e-06/2.911, allocations: 0 / 1.588 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.35e-05/2.911, allocations: 20 kB / 1.588 GB, free: 4.816 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.002614/2.914, allocations: 0.9616 MB / 1.589 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/2.914, allocations: 12.03 kB / 1.589 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/2.914, allocations: 87.02 kB / 1.589 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/2.916, allocations: 0.4996 MB / 1.589 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/2.916, allocations: 37 kB / 1.589 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/2.916, allocations: 52 kB / 1.589 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/2.917, allocations: 0.5704 MB / 1.59 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/2.917, allocations: 0 / 1.59 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/2.917, allocations: 28 kB / 1.59 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/2.917, allocations: 15.94 kB / 1.59 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/2.919, allocations: 394.8 kB / 1.59 GB, free: 2.016 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.005821/2.924, allocations: 3.223 MB / 1.593 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/2.925, allocations: 297.8 kB / 1.594 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/2.926, allocations: 184.8 kB / 1.594 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/2.926, allocations: 344.4 kB / 1.594 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/2.926, allocations: 38.56 kB / 1.594 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.687e-06/2.926, allocations: 0 / 1.594 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001386/2.928, allocations: 417.9 kB / 1.595 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/2.928, allocations: 59.41 kB / 1.595 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/2.929, allocations: 0.511 MB / 1.595 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/2.929, allocations: 29.7 kB / 1.595 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/2.929, allocations: 324.5 kB / 1.596 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/2.929, allocations: 130.1 kB / 1.596 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/2.929, allocations: 12 kB / 1.596 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002132/2.93, allocations: 374.8 kB / 1.596 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/2.93, allocations: 161.5 kB / 1.596 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/2.931, allocations: 353.6 kB / 1.597 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/2.931, allocations: 193.5 kB / 1.597 GB, free: 11 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/2.932, allocations: 4 kB / 1.597 GB, free: 11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001798/2.933, allocations: 0.613 MB / 1.597 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008132/2.934, allocations: 1.748 MB / 1.599 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/2.934, allocations: 8 kB / 1.599 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009419/2.935, allocations: 140.7 kB / 1.599 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/2.937, allocations: 155.8 kB / 1.599 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009212/2.937, allocations: 0.6186 MB / 1.6 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/2.939, allocations: 111.4 kB / 1.6 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/2.939, allocations: 31.98 kB / 1.6 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/2.939, allocations: 4 kB / 1.6 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/2.94, allocations: 0.5099 MB / 1.601 GB, free: 6.895 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/2.94, allocations: 7.953 kB / 1.601 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/2.94, allocations: 8 kB / 1.601 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/2.942, allocations: 167.7 kB / 1.601 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/2.942, allocations: 11.98 kB / 1.601 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/2.943, allocations: 91.61 kB / 1.601 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/2.943, allocations: 35.97 kB / 1.601 GB, free: 6.578 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.0002197/2.943, allocations: 148.7 kB / 1.601 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/2.943, allocations: 63.25 kB / 1.601 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/2.945, allocations: 0.5538 MB / 1.602 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/2.945, allocations: 11.97 kB / 1.602 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.945, allocations: 0 / 1.602 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/2.945, allocations: 0 / 1.602 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/2.948, allocations: 1.274 MB / 1.603 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/2.948, allocations: 96 / 1.603 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/2.949, allocations: 91.88 kB / 1.603 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/2.95, allocations: 120.8 kB / 1.603 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/2.95, allocations: 12 kB / 1.603 GB, free: 4.215 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008518/2.951, allocations: 0.6187 MB / 1.604 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.951, allocations: 64 / 1.604 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/2.952, allocations: 0.6628 MB / 1.604 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/2.953, allocations: 204 kB / 1.605 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/2.953, allocations: 4 kB / 1.605 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/2.954, allocations: 59.94 kB / 1.605 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/2.954, allocations: 35.91 kB / 1.605 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/2.954, allocations: 15.98 kB / 1.605 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007346/2.955, allocations: 391.2 kB / 1.605 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.11e-07/2.955, allocations: 3.938 kB / 1.605 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00174/2.957, allocations: 411.5 kB / 1.605 GB, free: 1.746 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.001132/2.958, allocations: 418.8 kB / 1.606 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002431/2.96, allocations: 0.7683 MB / 1.607 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/2.96, allocations: 0 / 1.607 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/2.961, allocations: 248.2 kB / 1.607 GB, free: 332 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/2.964, allocations: 259.6 kB / 1.607 GB, free: 76 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/2.966, allocations: 0.753 MB / 1.608 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/2.967, allocations: 0.9208 MB / 1.609 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001352/2.968, allocations: 187.8 kB / 1.609 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/2.968, allocations: 55.41 kB / 1.609 GB, free: 14.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/2.968, allocations: 0 / 1.609 GB, free: 14.1 MB / 0.948 GB Notification: Performance of Templates: time 0.7026/3.671, allocations: 14.24 MB / 1.623 GB, free: 261.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)