Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001788/0.001788, allocations: 185.9 kB / 371.8 MB, free: 10.26 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.183/2.183, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001139/0.001139, allocations: 94.86 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.527, allocations: 378.8 MB / 1.349 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.527, allocations: 89.58 kB / 1.35 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/2.828, allocations: 252.4 MB / 1.596 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/2.828, allocations: 0 / 1.596 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.168e-05/2.829, allocations: 23.86 kB / 1.596 GB, free: 190.7 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.002291/2.831, allocations: 0.9275 MB / 1.597 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/2.831, allocations: 12.03 kB / 1.597 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/2.831, allocations: 66.53 kB / 1.597 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/2.831, allocations: 67.2 kB / 1.597 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/2.832, allocations: 483.3 kB / 1.597 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/2.832, allocations: 28.66 kB / 1.598 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/2.832, allocations: 40 kB / 1.598 GB, free: 189 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/2.833, allocations: 309.9 kB / 1.598 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/2.833, allocations: 0 / 1.598 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/2.833, allocations: 12 kB / 1.598 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/2.833, allocations: 8 kB / 1.598 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/2.834, allocations: 270.4 kB / 1.598 GB, free: 188.4 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.002172/2.836, allocations: 1.333 MB / 1.599 GB, free: 187 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/2.836, allocations: 270.5 kB / 1.6 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/2.837, allocations: 0.4947 MB / 1.6 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/2.837, allocations: 46.95 kB / 1.6 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.444e-06/2.837, allocations: 0 / 1.6 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001925/2.839, allocations: 0.5787 MB / 1.601 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/2.839, allocations: 51.41 kB / 1.601 GB, free: 185.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/2.839, allocations: 401.4 kB / 1.601 GB, free: 185 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/2.839, allocations: 37.7 kB / 1.601 GB, free: 184.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/2.84, allocations: 252.7 kB / 1.601 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/2.84, allocations: 74.77 kB / 1.602 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/2.84, allocations: 12 kB / 1.602 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.438e-05/2.84, allocations: 354.8 kB / 1.602 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/2.84, allocations: 123.9 kB / 1.602 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/2.84, allocations: 221.9 kB / 1.602 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/2.841, allocations: 145 kB / 1.602 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.841, allocations: 0 / 1.602 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000884/2.842, allocations: 413.2 kB / 1.603 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/2.842, allocations: 276.6 kB / 1.603 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/2.842, allocations: 0 / 1.603 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/2.842, allocations: 40.83 kB / 1.603 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/2.842, allocations: 75.88 kB / 1.603 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/2.843, allocations: 0.5717 MB / 1.604 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/2.843, allocations: 67.66 kB / 1.604 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/2.843, allocations: 24.05 kB / 1.604 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.844, allocations: 4 kB / 1.604 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006329/2.844, allocations: 315.8 kB / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/2.844, allocations: 4 kB / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/2.844, allocations: 0 / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/2.845, allocations: 83.88 kB / 1.604 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/2.845, allocations: 7.984 kB / 1.604 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/2.845, allocations: 75.62 kB / 1.604 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/2.845, allocations: 8 kB / 1.604 GB, free: 181.7 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.0002478/2.845, allocations: 257 kB / 1.605 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/2.845, allocations: 47.44 kB / 1.605 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/2.846, allocations: 423.9 kB / 1.605 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/2.846, allocations: 4 kB / 1.605 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/2.846, allocations: 3.938 kB / 1.605 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.846, allocations: 0 / 1.605 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/2.848, allocations: 0.9573 MB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/2.848, allocations: 4 kB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/2.848, allocations: 56.08 kB / 1.606 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/2.848, allocations: 36.78 kB / 1.606 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/2.848, allocations: 11.98 kB / 1.606 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002756/2.849, allocations: 0.5563 MB / 1.607 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.849, allocations: 4.062 kB / 1.607 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/2.849, allocations: 0.5486 MB / 1.607 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/2.85, allocations: 164.2 kB / 1.607 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/2.85, allocations: 8 kB / 1.607 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/2.85, allocations: 47.95 kB / 1.607 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/2.85, allocations: 23.92 kB / 1.607 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/2.85, allocations: 11.98 kB / 1.607 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003106/2.851, allocations: 318.9 kB / 1.608 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.851, allocations: 0 / 1.608 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009835/2.852, allocations: 279.6 kB / 1.608 GB, free: 177.8 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.001648/2.853, allocations: 1.622 MB / 1.609 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001093/2.854, allocations: 494.6 kB / 1.61 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.854, allocations: 4 kB / 1.61 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/2.855, allocations: 167.8 kB / 1.61 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/2.856, allocations: 253.2 kB / 1.61 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/2.858, allocations: 1.644 MB / 1.612 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/2.858, allocations: 0.863 MB / 1.613 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005154/2.859, allocations: 112.4 kB / 1.613 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/2.859, allocations: 179.4 kB / 1.613 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of SimCode: time 8.81e-07/2.859, allocations: 0 / 1.613 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/2.894, allocations: 16.17 MB / 1.629 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/2.894, allocations: 252.1 kB / 1.629 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/5.63, allocations: 3.938 kB / 1.629 GB, free: 156.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)