Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.693/1.693, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001844/0.001843, allocations: 189.8 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009804/0.0009808, allocations: 96.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 8.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.496, allocations: 389.2 MB / 1.28 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004869/1.497, allocations: 100 kB / 1.28 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.091/2.588, allocations: 230.2 MB / 1.505 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/2.588, allocations: 0 / 1.505 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.744e-05/2.588, allocations: 22.58 kB / 1.505 GB, free: 250.6 MB / 0.8855 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.001894/2.59, allocations: 1.079 MB / 1.506 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.59, allocations: 8.031 kB / 1.506 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.552e-05/2.59, allocations: 87.03 kB / 1.506 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/2.59, allocations: 86.92 kB / 1.506 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/2.591, allocations: 0.5156 MB / 1.507 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/2.591, allocations: 41 kB / 1.507 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/2.591, allocations: 48 kB / 1.507 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008269/2.592, allocations: 0.6294 MB / 1.508 GB, free: 248 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/2.592, allocations: 7.953 kB / 1.508 GB, free: 248 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/2.592, allocations: 20 kB / 1.508 GB, free: 248 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/2.592, allocations: 15.94 kB / 1.508 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/2.593, allocations: 0.5034 MB / 1.508 GB, free: 247.4 MB / 0.8855 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.002749/2.595, allocations: 3.198 MB / 1.511 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/2.596, allocations: 335.1 kB / 1.512 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/2.596, allocations: 349.5 kB / 1.512 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/2.596, allocations: 38.56 kB / 1.512 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 2.325e-06/2.596, allocations: 4 kB / 1.512 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001771/2.598, allocations: 0.8204 MB / 1.513 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/2.598, allocations: 63.41 kB / 1.513 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/2.599, allocations: 0.5071 MB / 1.513 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/2.599, allocations: 37.64 kB / 1.513 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/2.599, allocations: 327.9 kB / 1.514 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/2.599, allocations: 132.9 kB / 1.514 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/2.599, allocations: 12 kB / 1.514 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/2.599, allocations: 374.7 kB / 1.514 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/2.599, allocations: 213.2 kB / 1.514 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/2.6, allocations: 400.3 kB / 1.515 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/2.6, allocations: 260.5 kB / 1.515 GB, free: 240 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.6, allocations: 0 / 1.515 GB, free: 240 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001185/2.602, allocations: 0.7145 MB / 1.516 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003404/2.602, allocations: 1.752 MB / 1.517 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/2.602, allocations: 4 kB / 1.517 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/2.602, allocations: 148.8 kB / 1.518 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/2.603, allocations: 155.8 kB / 1.518 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/2.604, allocations: 0.6343 MB / 1.518 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/2.604, allocations: 107.4 kB / 1.518 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/2.604, allocations: 35.92 kB / 1.518 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/2.604, allocations: 0 / 1.518 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/2.605, allocations: 0.6111 MB / 1.519 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/2.605, allocations: 4 kB / 1.519 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/2.605, allocations: 8 kB / 1.519 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/2.606, allocations: 176.2 kB / 1.519 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/2.606, allocations: 8 kB / 1.519 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/2.607, allocations: 95.47 kB / 1.519 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/2.607, allocations: 31.98 kB / 1.519 GB, free: 235.4 MB / 0.8855 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.0003559/2.607, allocations: 269 kB / 1.52 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/2.607, allocations: 63.16 kB / 1.52 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/2.608, allocations: 0.6666 MB / 1.52 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/2.608, allocations: 11.94 kB / 1.52 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.608, allocations: 4 kB / 1.52 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.608, allocations: 0 / 1.52 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/2.611, allocations: 1.363 MB / 1.522 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/2.611, allocations: 0 / 1.522 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/2.611, allocations: 95.97 kB / 1.522 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/2.611, allocations: 132.8 kB / 1.522 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/2.611, allocations: 15.98 kB / 1.522 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004716/2.612, allocations: 0.6265 MB / 1.523 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.612, allocations: 8 kB / 1.523 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/2.613, allocations: 0.7564 MB / 1.523 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/2.613, allocations: 192.1 kB / 1.523 GB, free: 231 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/2.613, allocations: 8 kB / 1.523 GB, free: 231 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/2.614, allocations: 67.78 kB / 1.524 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/2.614, allocations: 39.84 kB / 1.524 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/2.614, allocations: 19.98 kB / 1.524 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003859/2.614, allocations: 395.1 kB / 1.524 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/2.614, allocations: 0 / 1.524 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001268/2.616, allocations: 419 kB / 1.524 GB, free: 230.1 MB / 0.8855 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.002059/2.618, allocations: 1.802 MB / 1.526 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001797/2.619, allocations: 0.9022 MB / 1.527 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.619, allocations: 0 / 1.527 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/2.62, allocations: 299.8 kB / 1.527 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/2.621, allocations: 263.9 kB / 1.528 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/2.625, allocations: 4.639 MB / 1.532 GB, free: 222 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/2.625, allocations: 0.9236 MB / 1.533 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005993/2.626, allocations: 152.9 kB / 1.533 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/2.626, allocations: 243.3 kB / 1.533 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.41e-07/2.626, allocations: 3.938 kB / 1.533 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/2.661, allocations: 19.13 MB / 1.552 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/2.661, allocations: 272.7 kB / 1.552 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/5.343, allocations: 0 / 1.552 GB, free: 201.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)