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.00109/0.001089, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4997/0.4997, allocations: 90.8 MB / 104.5 MB, free: 13.89 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.496/1.496, allocations: 221.3 MB / 348.3 MB, free: 12.62 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.0009796/0.0009797, allocations: 93.8 kB / 421.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.089e-05, allocations: 0 / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1637, allocations: 72.32 MB / 0.5603 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.296, allocations: 365.4 MB / 0.9171 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.296, allocations: 85.7 kB / 0.9172 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7308/2.027, allocations: 171.6 MB / 1.085 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/2.027, allocations: 0 / 1.085 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.684e-05/2.027, allocations: 18.06 kB / 1.085 GB, free: 174.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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009677/2.028, allocations: 0.6623 MB / 1.085 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.028, allocations: 15.73 kB / 1.085 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/2.028, allocations: 53.14 kB / 1.085 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/2.028, allocations: 45.41 kB / 1.086 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/2.057, allocations: 14.64 MB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/2.057, allocations: 19.61 kB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/2.057, allocations: 17.78 kB / 1.1 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/2.058, allocations: 158.2 kB / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/2.058, allocations: 0 / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/2.058, allocations: 4 kB / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/2.058, allocations: 3.844 kB / 1.1 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/2.058, allocations: 108.2 kB / 1.1 GB, free: 169.5 MB / 0.6042 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.000999/2.059, allocations: 0.8287 MB / 1.101 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/2.059, allocations: 103.6 kB / 1.101 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/2.059, allocations: 51.28 kB / 1.101 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/2.059, allocations: 336.8 kB / 1.101 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/2.059, allocations: 32.81 kB / 1.101 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/2.059, allocations: 0 / 1.101 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0002641/2.06, allocations: 137.2 kB / 1.102 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/2.06, allocations: 65.98 kB / 1.102 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/2.06, allocations: 283.2 kB / 1.102 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/2.06, allocations: 33.64 kB / 1.102 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/2.06, allocations: 186.2 kB / 1.102 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/2.06, allocations: 42.94 kB / 1.102 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/2.06, allocations: 0 / 1.102 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/2.06, allocations: 351.7 kB / 1.102 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/2.06, allocations: 22.78 kB / 1.103 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/2.06, allocations: 88.34 kB / 1.103 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/2.06, allocations: 37.22 kB / 1.103 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.06, allocations: 3.875 kB / 1.103 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001799/2.061, allocations: 145.9 kB / 1.103 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/2.061, allocations: 189.5 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/2.061, allocations: 0 / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/2.061, allocations: 0 / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/2.061, allocations: 29.88 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/2.061, allocations: 3.906 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/2.061, allocations: 27.69 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/2.061, allocations: 11.12 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/2.061, allocations: 3.969 kB / 1.103 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000123/2.061, allocations: 78.28 kB / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-06/2.061, allocations: 0 / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-06/2.061, allocations: 2.969 kB / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/2.061, allocations: 32.94 kB / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/2.061, allocations: 3.062 kB / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/2.062, allocations: 36.81 kB / 1.103 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/2.062, allocations: 10.92 kB / 1.103 GB, free: 167.1 MB / 0.6042 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.73e-05/2.062, allocations: 112.3 kB / 1.103 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/2.062, allocations: 34.69 kB / 1.103 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/2.062, allocations: 203 kB / 1.104 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/2.062, allocations: 0 / 1.104 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.062, allocations: 0 / 1.104 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.062, allocations: 0 / 1.104 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/2.063, allocations: 0.5817 MB / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/2.063, allocations: 3.094 kB / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/2.063, allocations: 27.3 kB / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/2.063, allocations: 0 / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/2.063, allocations: 7.969 kB / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/2.063, allocations: 0 / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.063, allocations: 7.922 kB / 1.104 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/2.063, allocations: 323.9 kB / 1.104 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.224e-05/2.063, allocations: 122.3 kB / 1.105 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/2.063, allocations: 7.875 kB / 1.105 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/2.063, allocations: 22.94 kB / 1.105 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/2.063, allocations: 17.62 kB / 1.105 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/2.063, allocations: 7.75 kB / 1.105 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001782/2.064, allocations: 232.4 kB / 1.105 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/2.064, allocations: 0 / 1.105 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005547/2.064, allocations: 167.6 kB / 1.105 GB, free: 165.9 MB / 0.6042 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.0009298/2.065, allocations: 1.244 MB / 1.106 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002591/2.065, allocations: 150 kB / 1.106 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.065, allocations: 0 / 1.106 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/2.066, allocations: 64.09 kB / 1.106 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/2.066, allocations: 139.9 kB / 1.107 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/2.067, allocations: 487.5 kB / 1.107 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/2.067, allocations: 0.8031 MB / 1.108 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003258/2.068, allocations: 93.53 kB / 1.108 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/2.068, allocations: 103.4 kB / 1.108 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/2.068, allocations: 0 / 1.108 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/2.09, allocations: 10.85 MB / 1.119 GB, free: 160 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/2.091, allocations: 198.3 kB / 1.119 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/4.341, allocations: 0 / 1.119 GB, free: 159.8 MB / 0.6042 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)