Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001221/0.001222, allocations: 180.3 kB / 371.6 MB, free: 3.363 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.774/1.774, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001095/0.001095, allocations: 89.22 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.504e-05/5.521e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.537, allocations: 397.7 MB / 1.368 GB, free: 15.09 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.537, allocations: 91.17 kB / 1.368 GB, free: 15.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.182/2.719, allocations: 235.9 MB / 1.599 GB, free: 170.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/2.719, allocations: 0 / 1.599 GB, free: 170.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.463e-05/2.72, allocations: 23.92 kB / 1.599 GB, free: 170.3 MB / 0.948 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.001864/2.721, allocations: 0.9669 MB / 1.6 GB, free: 169.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/2.721, allocations: 8.031 kB / 1.6 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/2.722, allocations: 86.52 kB / 1.6 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/2.722, allocations: 82.97 kB / 1.6 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/2.723, allocations: 0.5144 MB / 1.6 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/2.723, allocations: 37 kB / 1.6 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/2.723, allocations: 52 kB / 1.6 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007129/2.723, allocations: 0.5705 MB / 1.601 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/2.723, allocations: 7.938 kB / 1.601 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/2.723, allocations: 20 kB / 1.601 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/2.723, allocations: 12 kB / 1.601 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/2.724, allocations: 398.8 kB / 1.601 GB, free: 167.4 MB / 0.948 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.003098/2.727, allocations: 3.203 MB / 1.605 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/2.728, allocations: 283.1 kB / 1.605 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/2.728, allocations: 188.8 kB / 1.605 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/2.728, allocations: 348.4 kB / 1.605 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/2.728, allocations: 38.59 kB / 1.605 GB, free: 163.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=38): time 2.294e-06/2.728, allocations: 4 kB / 1.605 GB, free: 163 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.0007626/2.729, allocations: 421.7 kB / 1.606 GB, free: 162.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/2.729, allocations: 55.41 kB / 1.606 GB, free: 162.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/2.729, allocations: 0.4955 MB / 1.606 GB, free: 162.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/2.729, allocations: 37.7 kB / 1.606 GB, free: 162 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/2.73, allocations: 324.5 kB / 1.607 GB, free: 161.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/2.73, allocations: 138 kB / 1.607 GB, free: 161.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/2.73, allocations: 12 kB / 1.607 GB, free: 161.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/2.73, allocations: 378.7 kB / 1.607 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/2.73, allocations: 161.5 kB / 1.607 GB, free: 161 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/2.73, allocations: 353.5 kB / 1.608 GB, free: 160.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/2.731, allocations: 209.5 kB / 1.608 GB, free: 160.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.731, allocations: 0 / 1.608 GB, free: 160.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008736/2.732, allocations: 0.6133 MB / 1.608 GB, free: 159.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003145/2.732, allocations: 1.748 MB / 1.61 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/2.732, allocations: 11.98 kB / 1.61 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/2.733, allocations: 136.8 kB / 1.61 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/2.733, allocations: 151.8 kB / 1.61 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004331/2.734, allocations: 0.6225 MB / 1.611 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/2.734, allocations: 103.4 kB / 1.611 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/2.734, allocations: 35.98 kB / 1.611 GB, free: 156.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/2.734, allocations: 5.562 kB / 1.611 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007239/2.735, allocations: 0.5058 MB / 1.612 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/2.735, allocations: 8 kB / 1.612 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/2.735, allocations: 11.95 kB / 1.612 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/2.736, allocations: 160.3 kB / 1.612 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/2.736, allocations: 15.92 kB / 1.612 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/2.736, allocations: 99.48 kB / 1.612 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/2.736, allocations: 31.98 kB / 1.612 GB, free: 156 MB / 0.948 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.0001157/2.736, allocations: 136.8 kB / 1.612 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/2.737, allocations: 67.09 kB / 1.612 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/2.737, allocations: 0.5613 MB / 1.613 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/2.737, allocations: 11.94 kB / 1.613 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/2.737, allocations: 4 kB / 1.613 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/2.737, allocations: 0 / 1.613 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/2.739, allocations: 1.27 MB / 1.614 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.739, allocations: 7.938 kB / 1.614 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/2.74, allocations: 91.88 kB / 1.614 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/2.74, allocations: 116.9 kB / 1.614 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/2.74, allocations: 12 kB / 1.614 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/2.74, allocations: 0.6265 MB / 1.615 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.74, allocations: 0 / 1.615 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/2.741, allocations: 0.6511 MB / 1.615 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/2.742, allocations: 188.1 kB / 1.616 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/2.742, allocations: 15.94 kB / 1.616 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/2.742, allocations: 63.78 kB / 1.616 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/2.742, allocations: 35.91 kB / 1.616 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/2.742, allocations: 19.98 kB / 1.616 GB, free: 151.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004208/2.743, allocations: 387.2 kB / 1.616 GB, free: 151.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/2.743, allocations: 0 / 1.616 GB, free: 151.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001391/2.744, allocations: 419.5 kB / 1.617 GB, free: 151.1 MB / 0.948 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.001951/2.746, allocations: 1.711 MB / 1.618 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001354/2.747, allocations: 0.7639 MB / 1.619 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.747, allocations: 0 / 1.619 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/2.748, allocations: 249 kB / 1.619 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/2.749, allocations: 260.7 kB / 1.619 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/2.751, allocations: 0.93 MB / 1.62 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/2.751, allocations: 0.9324 MB / 1.621 GB, free: 146.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000777/2.752, allocations: 173.1 kB / 1.621 GB, free: 146 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/2.753, allocations: 235.3 kB / 1.622 GB, free: 145.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/2.753, allocations: 3.938 kB / 1.622 GB, free: 145.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/2.787, allocations: 20.46 MB / 1.642 GB, free: 125.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/2.787, allocations: 250.3 kB / 1.642 GB, free: 125.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/5.642, allocations: 0 / 1.642 GB, free: 125.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)