Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001476/0.001476, allocations: 175.9 kB / 370.8 MB, free: 10.87 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.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001188/0.001188, allocations: 92.83 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005064, allocations: 11.27 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2365, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.563, allocations: 396.6 MB / 1.366 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.563, allocations: 93.58 kB / 1.366 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/3.03, allocations: 236.6 MB / 1.597 GB, free: 191.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/3.03, allocations: 0 / 1.597 GB, free: 191.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.902e-05/3.03, allocations: 27.94 kB / 1.597 GB, free: 191.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.002945/3.033, allocations: 1.079 MB / 1.598 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/3.033, allocations: 15.97 kB / 1.598 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/3.033, allocations: 86.47 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/3.034, allocations: 83.06 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/3.035, allocations: 0.519 MB / 1.598 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/3.035, allocations: 37 kB / 1.599 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/3.035, allocations: 55.98 kB / 1.599 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/3.037, allocations: 0.6232 MB / 1.599 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/3.037, allocations: 3.938 kB / 1.599 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/3.037, allocations: 24 kB / 1.599 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/3.037, allocations: 16 kB / 1.599 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/3.039, allocations: 0.5073 MB / 1.6 GB, free: 187.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.004961/3.044, allocations: 3.206 MB / 1.603 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/3.045, allocations: 344.8 kB / 1.603 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/3.045, allocations: 356.3 kB / 1.604 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/3.045, allocations: 34.56 kB / 1.604 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 3.287e-06/3.045, allocations: 0 / 1.604 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.003385/3.048, allocations: 0.8268 MB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/3.049, allocations: 59.16 kB / 1.604 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/3.049, allocations: 0.5071 MB / 1.605 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/3.049, allocations: 33.7 kB / 1.605 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/3.05, allocations: 328.4 kB / 1.605 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/3.05, allocations: 130.1 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/3.05, allocations: 23.94 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001156/3.05, allocations: 370.8 kB / 1.606 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/3.051, allocations: 213.1 kB / 1.606 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009304/3.052, allocations: 396.3 kB / 1.606 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008689/3.053, allocations: 256.7 kB / 1.607 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/3.053, allocations: 4 kB / 1.607 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002331/3.055, allocations: 0.7186 MB / 1.607 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003638/3.055, allocations: 1.752 MB / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/3.055, allocations: 4 kB / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/3.056, allocations: 148.8 kB / 1.609 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/3.058, allocations: 151.8 kB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/3.059, allocations: 0.6304 MB / 1.61 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/3.06, allocations: 111.3 kB / 1.61 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/3.06, allocations: 35.97 kB / 1.61 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/3.06, allocations: 4 kB / 1.61 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/3.062, allocations: 0.6077 MB / 1.611 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/3.062, allocations: 8.016 kB / 1.611 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/3.062, allocations: 15.94 kB / 1.611 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/3.063, allocations: 159.8 kB / 1.611 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/3.063, allocations: 15.92 kB / 1.611 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/3.064, allocations: 99.47 kB / 1.611 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/3.064, allocations: 31.98 kB / 1.611 GB, free: 175.7 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.0004475/3.065, allocations: 269 kB / 1.611 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/3.065, allocations: 63.16 kB / 1.611 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/3.067, allocations: 0.6628 MB / 1.612 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/3.067, allocations: 4 kB / 1.612 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/3.067, allocations: 0 / 1.612 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/3.068, allocations: 3.984 kB / 1.612 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/3.071, allocations: 1.377 MB / 1.613 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/3.071, allocations: 0 / 1.613 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/3.072, allocations: 91.88 kB / 1.613 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/3.073, allocations: 136.9 kB / 1.614 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/3.073, allocations: 15.98 kB / 1.614 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008127/3.074, allocations: 0.642 MB / 1.614 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/3.074, allocations: 0 / 1.614 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/3.076, allocations: 0.7604 MB / 1.615 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/3.076, allocations: 192.1 kB / 1.615 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/3.076, allocations: 15.98 kB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/3.077, allocations: 55.89 kB / 1.615 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/3.077, allocations: 35.91 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/3.077, allocations: 23.92 kB / 1.615 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006278/3.078, allocations: 391.1 kB / 1.616 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/3.078, allocations: 0 / 1.616 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001791/3.08, allocations: 419.4 kB / 1.616 GB, free: 170.4 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.003406/3.083, allocations: 1.811 MB / 1.618 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003264/3.087, allocations: 0.8982 MB / 1.619 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/3.087, allocations: 0 / 1.619 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/3.088, allocations: 299.8 kB / 1.619 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/3.09, allocations: 264.4 kB / 1.619 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/3.095, allocations: 4.639 MB / 1.624 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/3.095, allocations: 0.9236 MB / 1.625 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001131/3.096, allocations: 148.9 kB / 1.625 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/3.097, allocations: 239.3 kB / 1.625 GB, free: 161 MB / 0.9323 GB Notification: Performance of SimCode: time 1.673e-06/3.097, allocations: 0 / 1.625 GB, free: 161 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/3.154, allocations: 19.13 MB / 1.644 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003311/3.155, allocations: 271.1 kB / 1.644 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/6.506, allocations: 0 / 1.644 GB, free: 141.9 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)