Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_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.009763/0.009763, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.2 MB / 151 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.967/1.967, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 105.7 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003855, allocations: 12 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5936/0.594, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.597, allocations: 375.2 MB / 1.016 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/1.598, allocations: 96 kB / 1.016 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8709/2.468, allocations: 172.1 MB / 1.184 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/2.469, allocations: 0 / 1.184 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.204e-05/2.469, allocations: 16 kB / 1.184 GB, free: 142.8 MB / 0.6823 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.001669/2.47, allocations: 0.7707 MB / 1.185 GB, free: 142 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/2.47, allocations: 8.031 kB / 1.185 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/2.47, allocations: 50.55 kB / 1.185 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/2.471, allocations: 43.44 kB / 1.185 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/2.504, allocations: 14.72 MB / 1.199 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/2.504, allocations: 12.33 kB / 1.199 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/2.504, allocations: 24 kB / 1.199 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/2.505, allocations: 172.2 kB / 1.2 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/2.505, allocations: 7.922 kB / 1.2 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/2.505, allocations: 8 kB / 1.2 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/2.505, allocations: 4 kB / 1.2 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/2.505, allocations: 144.2 kB / 1.2 GB, free: 126.6 MB / 0.6823 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.00133/2.507, allocations: 0.8218 MB / 1.2 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/2.507, allocations: 122.5 kB / 1.201 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/2.507, allocations: 340.4 kB / 1.201 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/2.507, allocations: 34.56 kB / 1.201 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 2.975e-06/2.507, allocations: 0 / 1.201 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.000581/2.508, allocations: 217.1 kB / 1.201 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/2.508, allocations: 63.33 kB / 1.201 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/2.508, allocations: 284.9 kB / 1.201 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/2.508, allocations: 25.7 kB / 1.202 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/2.508, allocations: 196.3 kB / 1.202 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/2.508, allocations: 43.58 kB / 1.202 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/2.508, allocations: 4 kB / 1.202 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/2.508, allocations: 346.7 kB / 1.202 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/2.509, allocations: 43.97 kB / 1.202 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/2.509, allocations: 102.8 kB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/2.509, allocations: 59.91 kB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/2.509, allocations: 0 / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003437/2.509, allocations: 177.2 kB / 1.202 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/2.509, allocations: 182 kB / 1.203 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/2.509, allocations: 4 kB / 1.203 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/2.509, allocations: 0 / 1.203 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/2.509, allocations: 35.97 kB / 1.203 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/2.509, allocations: 4 kB / 1.203 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/2.51, allocations: 27.83 kB / 1.203 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/2.51, allocations: 8.031 kB / 1.203 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/2.51, allocations: 7.938 kB / 1.203 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002573/2.51, allocations: 119.9 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/2.51, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/2.51, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/2.51, allocations: 27.98 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/2.51, allocations: 3.984 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/2.51, allocations: 31.88 kB / 1.203 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/2.51, allocations: 8 kB / 1.203 GB, free: 123 MB / 0.6823 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 () * Number of clocked 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 0.0001536/2.511, allocations: 225 kB / 1.203 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/2.511, allocations: 35.53 kB / 1.203 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/2.511, allocations: 224.6 kB / 1.203 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/2.511, allocations: 4 kB / 1.203 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.511, allocations: 0 / 1.203 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/2.511, allocations: 3.953 kB / 1.203 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/2.512, allocations: 0.6139 MB / 1.204 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/2.512, allocations: 4 kB / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/2.512, allocations: 36.06 kB / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/2.512, allocations: 0 / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/2.512, allocations: 7.953 kB / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/2.512, allocations: 0 / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/2.512, allocations: 3.938 kB / 1.204 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/2.512, allocations: 355.3 kB / 1.204 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/2.513, allocations: 128.6 kB / 1.204 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/2.513, allocations: 0 / 1.204 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/2.513, allocations: 23.98 kB / 1.204 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/2.513, allocations: 12.17 kB / 1.204 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/2.513, allocations: 7.984 kB / 1.205 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000199/2.513, allocations: 239 kB / 1.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/2.513, allocations: 4 kB / 1.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006394/2.514, allocations: 167.8 kB / 1.205 GB, free: 120.8 MB / 0.6823 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 () * Number of clocked 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.001313/2.515, allocations: 1.28 MB / 1.206 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004724/2.516, allocations: 195 kB / 1.206 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.516, allocations: 192 / 1.206 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/2.516, allocations: 83.89 kB / 1.206 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/2.516, allocations: 133.6 kB / 1.207 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/2.519, allocations: 1.843 MB / 1.208 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/2.519, allocations: 0.7999 MB / 1.209 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002731/2.519, allocations: 71.39 kB / 1.209 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/2.519, allocations: 111.4 kB / 1.209 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/2.519, allocations: 0 / 1.209 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/2.545, allocations: 10.1 MB / 1.219 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.545, allocations: 219.1 kB / 1.219 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/4.94, allocations: 0 / 1.219 GB, free: 106.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)