Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.576/2.576, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001643/0.001642, allocations: 176.1 kB / 370.8 MB, free: 10.86 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.154/2.154, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001256/0.001255, allocations: 93.92 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006761, allocations: 15.23 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2388, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.548, allocations: 378.7 MB / 1.348 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/1.549, allocations: 90.5 kB / 1.348 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.529/3.078, allocations: 252.4 MB / 1.595 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.104e-06/3.078, allocations: 0 / 1.595 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.819e-05/3.078, allocations: 24.11 kB / 1.595 GB, free: 192.5 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002377/3.08, allocations: 0.9328 MB / 1.596 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/3.08, allocations: 8.031 kB / 1.596 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/3.081, allocations: 62.55 kB / 1.596 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/3.081, allocations: 71.19 kB / 1.596 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/3.082, allocations: 471.5 kB / 1.596 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/3.082, allocations: 32.64 kB / 1.596 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/3.082, allocations: 36 kB / 1.596 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/3.083, allocations: 309.9 kB / 1.596 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/3.083, allocations: 4 kB / 1.596 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/3.083, allocations: 8 kB / 1.597 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/3.083, allocations: 15.95 kB / 1.597 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/3.084, allocations: 274.4 kB / 1.597 GB, free: 190.2 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.00309/3.087, allocations: 1.325 MB / 1.598 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009958/3.088, allocations: 278.5 kB / 1.598 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/3.089, allocations: 0.4952 MB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/3.089, allocations: 38.56 kB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 4.177e-06/3.089, allocations: 4 kB / 1.599 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.002858/3.092, allocations: 0.5731 MB / 1.599 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/3.092, allocations: 55.41 kB / 1.599 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/3.092, allocations: 401.4 kB / 1.6 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/3.092, allocations: 33.92 kB / 1.6 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/3.093, allocations: 256.6 kB / 1.6 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.539e-05/3.093, allocations: 90.69 kB / 1.6 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/3.093, allocations: 4 kB / 1.6 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001024/3.093, allocations: 358.8 kB / 1.601 GB, free: 186 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/3.093, allocations: 119.7 kB / 1.601 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/3.094, allocations: 218.4 kB / 1.601 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/3.094, allocations: 140.8 kB / 1.601 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/3.095, allocations: 4 kB / 1.601 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001467/3.096, allocations: 410.1 kB / 1.601 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/3.096, allocations: 274.9 kB / 1.602 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.946e-06/3.096, allocations: 0 / 1.602 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/3.096, allocations: 44.83 kB / 1.602 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/3.097, allocations: 75.89 kB / 1.602 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004827/3.098, allocations: 0.5678 MB / 1.602 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/3.099, allocations: 71.7 kB / 1.602 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/3.099, allocations: 15.98 kB / 1.602 GB, free: 184 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/3.099, allocations: 4 kB / 1.602 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/3.1, allocations: 313.8 kB / 1.603 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/3.1, allocations: 0 / 1.603 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/3.1, allocations: 4 kB / 1.603 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/3.101, allocations: 83.89 kB / 1.603 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/3.101, allocations: 0 / 1.603 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/3.101, allocations: 67.69 kB / 1.603 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/3.102, allocations: 19.98 kB / 1.603 GB, free: 183.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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.000408/3.102, allocations: 252.9 kB / 1.603 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/3.102, allocations: 47.44 kB / 1.603 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/3.104, allocations: 435.8 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/3.104, allocations: 4 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/3.104, allocations: 8 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/3.104, allocations: 3.984 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/3.106, allocations: 0.9476 MB / 1.605 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.106, allocations: 0 / 1.605 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/3.106, allocations: 60.03 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/3.107, allocations: 40.83 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/3.107, allocations: 8.141 kB / 1.605 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/3.107, allocations: 0.5601 MB / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.107, allocations: 4.031 kB / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/3.108, allocations: 0.5495 MB / 1.606 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/3.109, allocations: 160.3 kB / 1.606 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/3.109, allocations: 8 kB / 1.606 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/3.109, allocations: 43.94 kB / 1.606 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/3.109, allocations: 23.94 kB / 1.606 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/3.11, allocations: 15.98 kB / 1.606 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005106/3.11, allocations: 314.9 kB / 1.606 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.3e-07/3.11, allocations: 3.938 kB / 1.606 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0012/3.111, allocations: 279.6 kB / 1.607 GB, free: 179.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002277/3.114, allocations: 1.619 MB / 1.608 GB, free: 178 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001865/3.115, allocations: 479.6 kB / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.115, allocations: 0 / 1.609 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006298/3.116, allocations: 183.8 kB / 1.609 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/3.118, allocations: 253.4 kB / 1.609 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/3.121, allocations: 1.643 MB / 1.611 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/3.121, allocations: 0.8669 MB / 1.611 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007315/3.122, allocations: 112.2 kB / 1.612 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/3.123, allocations: 171.8 kB / 1.612 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of SimCode: time 9.02e-07/3.123, allocations: 0 / 1.612 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/3.189, allocations: 16.16 MB / 1.628 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/3.189, allocations: 246.3 kB / 1.628 GB, free: 158 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/6.441, allocations: 0 / 1.628 GB, free: 158 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)