Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5112/0.5112, allocations: 91.97 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 223.2 MB / 354.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 99.67 kB / 427.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 8 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 72.31 MB / 0.5689 GB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.816/5.015, allocations: 1.821 GB / 2.39 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.015, allocations: 87.95 kB / 2.39 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8363/5.851, allocations: 222.4 MB / 2.607 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/5.851, allocations: 4 kB / 2.607 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.773e-05/5.851, allocations: 4 kB / 2.607 GB, free: 54.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001206/5.853, allocations: 0.6073 MB / 2.608 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/5.853, allocations: 12.03 kB / 2.608 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/5.853, allocations: 43.59 kB / 2.608 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/5.853, allocations: 63.52 kB / 2.608 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/5.853, allocations: 297.5 kB / 2.608 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/5.854, allocations: 15.94 kB / 2.608 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/5.854, allocations: 16 kB / 2.608 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/5.854, allocations: 196.1 kB / 2.609 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/5.854, allocations: 0 / 2.609 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/5.854, allocations: 8 kB / 2.609 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/5.854, allocations: 4 kB / 2.609 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/5.854, allocations: 128.7 kB / 2.609 GB, free: 52.71 MB / 0.6042 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.0009195/5.855, allocations: 0.7928 MB / 2.61 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/5.855, allocations: 82.47 kB / 2.61 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/5.856, allocations: 190.3 kB / 2.61 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/5.856, allocations: 30.56 kB / 2.61 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/5.856, allocations: 0 / 2.61 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006312/5.856, allocations: 221.4 kB / 2.61 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/5.856, allocations: 59.39 kB / 2.61 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/5.857, allocations: 234.6 kB / 2.61 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/5.857, allocations: 29.7 kB / 2.61 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/5.857, allocations: 147.9 kB / 2.611 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/5.857, allocations: 31.55 kB / 2.611 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/5.857, allocations: 15.88 kB / 2.611 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/5.857, allocations: 338.8 kB / 2.611 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/5.857, allocations: 43.91 kB / 2.611 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/5.857, allocations: 102.8 kB / 2.611 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/5.857, allocations: 55.45 kB / 2.611 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.857, allocations: 0 / 2.611 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003385/5.858, allocations: 173.2 kB / 2.611 GB, free: 50 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/5.858, allocations: 361.4 kB / 2.612 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.858, allocations: 0 / 2.612 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/5.858, allocations: 4 kB / 2.612 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/5.858, allocations: 27.98 kB / 2.612 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/5.858, allocations: 8.047 kB / 2.612 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/5.858, allocations: 27.83 kB / 2.612 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/5.858, allocations: 8 kB / 2.612 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/5.858, allocations: 4 kB / 2.612 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002548/5.858, allocations: 116.1 kB / 2.612 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/5.858, allocations: 4 kB / 2.612 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-06/5.858, allocations: 3.984 kB / 2.612 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/5.858, allocations: 24.03 kB / 2.612 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/5.858, allocations: 3.953 kB / 2.612 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/5.859, allocations: 31.91 kB / 2.612 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/5.859, allocations: 8 kB / 2.612 GB, free: 49.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/5.859, allocations: 221 kB / 2.612 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/5.859, allocations: 23.72 kB / 2.612 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/5.859, allocations: 171.3 kB / 2.612 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/5.859, allocations: 0 / 2.612 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/5.859, allocations: 3.953 kB / 2.612 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/5.859, allocations: 0 / 2.612 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/5.86, allocations: 0.5898 MB / 2.613 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/5.86, allocations: 0 / 2.613 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/5.86, allocations: 32.41 kB / 2.613 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/5.86, allocations: 8 kB / 2.613 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/5.86, allocations: 0 / 2.613 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.86, allocations: 7.938 kB / 2.613 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/5.86, allocations: 4 kB / 2.613 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/5.861, allocations: 385 kB / 2.613 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/5.861, allocations: 120.7 kB / 2.613 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/5.861, allocations: 4 kB / 2.613 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/5.861, allocations: 23.98 kB / 2.613 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/5.861, allocations: 11.92 kB / 2.613 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/5.861, allocations: 11.95 kB / 2.613 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000147/5.861, allocations: 193.9 kB / 2.614 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/5.861, allocations: 0 / 2.614 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008392/5.862, allocations: 167.8 kB / 2.614 GB, free: 47.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002099/5.864, allocations: 2.193 MB / 2.616 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004247/5.865, allocations: 167.8 kB / 2.616 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/5.865, allocations: 4.125 kB / 2.616 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/5.865, allocations: 63.91 kB / 2.616 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/5.865, allocations: 134.2 kB / 2.616 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/5.868, allocations: 1.772 MB / 2.618 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/5.868, allocations: 0.7638 MB / 2.619 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002552/5.868, allocations: 70.86 kB / 2.619 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/5.868, allocations: 75.41 kB / 2.619 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/5.868, allocations: 0 / 2.619 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/5.906, allocations: 20.25 MB / 2.639 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/5.906, allocations: 230.1 kB / 2.639 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/8.494, allocations: 0 / 2.639 GB, free: 21.46 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)