Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.001368/0.001368, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4914/0.4914, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 83.34 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.409e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.948/1.066, allocations: 364.7 MB / 0.9098 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.066, allocations: 86.94 kB / 0.9099 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5996/1.665, allocations: 170.3 MB / 1.076 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.162e-06/1.665, allocations: 0 / 1.076 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.787e-05/1.666, allocations: 16.03 kB / 1.076 GB, free: 162.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008353/1.666, allocations: 0.671 MB / 1.077 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.666, allocations: 11.38 kB / 1.077 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/1.666, allocations: 46.59 kB / 1.077 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02761/1.694, allocations: 14.58 MB / 1.091 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.694, allocations: 3.938 kB / 1.091 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.694, allocations: 11.38 kB / 1.091 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/1.694, allocations: 93.92 kB / 1.091 GB, free: 158 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/1.695, allocations: 137.1 kB / 1.091 GB, free: 158 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.695, allocations: 3.188 kB / 1.091 GB, free: 158 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.695, allocations: 3.938 kB / 1.091 GB, free: 158 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.695, allocations: 3.719 kB / 1.091 GB, free: 158 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.0008246/1.695, allocations: 0.7957 MB / 1.092 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/1.696, allocations: 94.75 kB / 1.092 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/1.696, allocations: 47.69 kB / 1.092 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.696, allocations: 340.1 kB / 1.093 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/1.696, allocations: 34.5 kB / 1.093 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/1.696, allocations: 3.656 kB / 1.093 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003164/1.696, allocations: 138 kB / 1.093 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/1.696, allocations: 51.41 kB / 1.093 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/1.697, allocations: 253.9 kB / 1.093 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.697, allocations: 25.7 kB / 1.093 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/1.697, allocations: 187.9 kB / 1.093 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/1.697, allocations: 35.39 kB / 1.093 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/1.697, allocations: 0 / 1.093 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/1.697, allocations: 354.1 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/1.697, allocations: 22.91 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/1.697, allocations: 81.11 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/1.697, allocations: 46.92 kB / 1.094 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.697, allocations: 3.188 kB / 1.094 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002152/1.697, allocations: 136.1 kB / 1.094 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/1.697, allocations: 177.9 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.697, allocations: 0 / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.697, allocations: 11.45 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.697, allocations: 32.78 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.697, allocations: 3.938 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/1.698, allocations: 22.27 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/1.698, allocations: 18.86 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/1.698, allocations: 3.938 kB / 1.094 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001716/1.698, allocations: 75.83 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/1.698, allocations: 3.031 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/1.698, allocations: 0 / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.698, allocations: 25.23 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/1.698, allocations: 3.594 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.698, allocations: 29.12 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.698, allocations: 3.375 kB / 1.094 GB, free: 155.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.311e-05/1.698, allocations: 116 kB / 1.094 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002115/1.698, allocations: 133.6 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/1.699, allocations: 37.84 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/1.699, allocations: 183.1 kB / 1.095 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.699, allocations: 3.688 kB / 1.095 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.699, allocations: 0 / 1.095 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.699, allocations: 0 / 1.095 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/1.699, allocations: 0.5306 MB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.699, allocations: 3.812 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.7, allocations: 31.17 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.7, allocations: 7.828 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.7, allocations: 2.969 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.7, allocations: 3.938 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.7, allocations: 3.953 kB / 1.095 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/1.7, allocations: 314.8 kB / 1.096 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/1.7, allocations: 118.8 kB / 1.096 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/1.7, allocations: 0 / 1.096 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/1.7, allocations: 24.78 kB / 1.096 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/1.7, allocations: 18.73 kB / 1.096 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.7, allocations: 7.875 kB / 1.096 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001219/1.7, allocations: 195.7 kB / 1.096 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/1.7, allocations: 0 / 1.096 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005084/1.701, allocations: 160.6 kB / 1.096 GB, free: 154.1 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008139/1.702, allocations: 1.225 MB / 1.097 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002267/1.702, allocations: 145.6 kB / 1.097 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.702, allocations: 384 / 1.097 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/1.702, allocations: 61.52 kB / 1.098 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/1.703, allocations: 128.6 kB / 1.098 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/1.703, allocations: 472.5 kB / 1.098 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.704, allocations: 0.8027 MB / 1.099 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003405/1.704, allocations: 82.69 kB / 1.099 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.704, allocations: 106.6 kB / 1.099 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/1.704, allocations: 0 / 1.099 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/1.729, allocations: 8.864 MB / 1.108 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/1.729, allocations: 175.8 kB / 1.108 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/3.797, allocations: 0 / 1.108 GB, free: 147.4 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)