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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.939/1.939, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.002651/0.002651, allocations: 181.8 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009161/0.0009161, allocations: 97.03 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004181, allocations: 17.06 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3053, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.406, allocations: 396.8 MB / 1.367 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.406, allocations: 101.6 kB / 1.367 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.057/2.463, allocations: 236.6 MB / 1.598 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.386e-06/2.463, allocations: 0 / 1.598 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.612e-05/2.463, allocations: 27.92 kB / 1.598 GB, free: 189.1 MB / 0.9323 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.00218/2.465, allocations: 1.079 MB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/2.465, allocations: 12.03 kB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.068e-05/2.465, allocations: 90.45 kB / 1.599 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/2.465, allocations: 87.02 kB / 1.599 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/2.466, allocations: 0.5112 MB / 1.6 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/2.466, allocations: 37 kB / 1.6 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/2.466, allocations: 52 kB / 1.6 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/2.467, allocations: 0.6254 MB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/2.467, allocations: 3.938 kB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/2.467, allocations: 28 kB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/2.467, allocations: 12 kB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/2.468, allocations: 0.4995 MB / 1.601 GB, free: 185.9 MB / 0.9323 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.002795/2.471, allocations: 3.213 MB / 1.604 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/2.472, allocations: 339 kB / 1.605 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/2.472, allocations: 349 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/2.472, allocations: 34.56 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.544e-06/2.472, allocations: 3.984 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.001813/2.474, allocations: 0.8338 MB / 1.606 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/2.474, allocations: 55.41 kB / 1.606 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/2.474, allocations: 0.5071 MB / 1.606 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/2.474, allocations: 33.7 kB / 1.606 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/2.475, allocations: 336.3 kB / 1.607 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/2.475, allocations: 130.1 kB / 1.607 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/2.475, allocations: 12 kB / 1.607 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/2.475, allocations: 378.7 kB / 1.607 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/2.475, allocations: 213.2 kB / 1.607 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/2.476, allocations: 400.2 kB / 1.608 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/2.476, allocations: 252.7 kB / 1.608 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/2.476, allocations: 0 / 1.608 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001213/2.477, allocations: 0.7222 MB / 1.609 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003614/2.478, allocations: 1.748 MB / 1.61 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.478, allocations: 4 kB / 1.61 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/2.478, allocations: 144.7 kB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/2.479, allocations: 159.7 kB / 1.611 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005181/2.48, allocations: 0.6188 MB / 1.611 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/2.48, allocations: 115.3 kB / 1.611 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/2.48, allocations: 35.98 kB / 1.611 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/2.48, allocations: 5.562 kB / 1.611 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/2.481, allocations: 0.6114 MB / 1.612 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/2.481, allocations: 4 kB / 1.612 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/2.482, allocations: 12.09 kB / 1.612 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/2.482, allocations: 167.8 kB / 1.612 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/2.482, allocations: 8 kB / 1.612 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/2.483, allocations: 99.64 kB / 1.612 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/2.483, allocations: 35.98 kB / 1.612 GB, free: 173.8 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 () * 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.0002839/2.483, allocations: 268.9 kB / 1.613 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/2.483, allocations: 63.16 kB / 1.613 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/2.484, allocations: 0.6704 MB / 1.613 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/2.484, allocations: 7.953 kB / 1.613 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.484, allocations: 0 / 1.613 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/2.484, allocations: 7.984 kB / 1.613 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/2.486, allocations: 1.373 MB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/2.486, allocations: 3.984 kB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/2.487, allocations: 87.89 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/2.487, allocations: 136.7 kB / 1.615 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/2.487, allocations: 8 kB / 1.615 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004766/2.488, allocations: 0.6459 MB / 1.616 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.488, allocations: 0 / 1.616 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/2.489, allocations: 0.7603 MB / 1.616 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/2.489, allocations: 192.1 kB / 1.616 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/2.489, allocations: 12 kB / 1.616 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/2.49, allocations: 59.88 kB / 1.616 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/2.49, allocations: 35.91 kB / 1.617 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/2.49, allocations: 23.97 kB / 1.617 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003564/2.49, allocations: 387.1 kB / 1.617 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.49, allocations: 0 / 1.617 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00127/2.491, allocations: 423.4 kB / 1.617 GB, free: 168.5 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 () * 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.00205/2.493, allocations: 1.82 MB / 1.619 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001802/2.495, allocations: 0.8986 MB / 1.62 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/2.495, allocations: 0 / 1.62 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/2.496, allocations: 291.9 kB / 1.62 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/2.497, allocations: 256.9 kB / 1.621 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/2.5, allocations: 4.64 MB / 1.625 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/2.5, allocations: 0.9236 MB / 1.626 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005667/2.501, allocations: 152.8 kB / 1.626 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/2.501, allocations: 247.3 kB / 1.626 GB, free: 159 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/2.501, allocations: 0 / 1.626 GB, free: 159 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/2.534, allocations: 19.12 MB / 1.645 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/2.534, allocations: 292.6 kB / 1.645 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/5.224, allocations: 0 / 1.645 GB, free: 139.9 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)