Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_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.007416/0.007416, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7975/0.7975, allocations: 135.2 MB / 151 MB, free: 13.81 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.786/1.786, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001272/0.001272, allocations: 97.06 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004525, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6648/0.6653, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.763, allocations: 375.2 MB / 1.016 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/1.763, allocations: 91.08 kB / 1.016 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.944/2.707, allocations: 172.1 MB / 1.184 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/2.708, allocations: 0 / 1.184 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.637e-05/2.708, allocations: 16 kB / 1.184 GB, free: 142.6 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.001588/2.709, allocations: 0.759 MB / 1.185 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/2.709, allocations: 12.03 kB / 1.185 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/2.709, allocations: 46.55 kB / 1.185 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/2.709, allocations: 51.44 kB / 1.185 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0301/2.74, allocations: 14.7 MB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/2.74, allocations: 16.33 kB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/2.74, allocations: 20 kB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/2.74, allocations: 176.2 kB / 1.2 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/2.74, allocations: 0 / 1.2 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/2.74, allocations: 4 kB / 1.2 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/2.74, allocations: 4 kB / 1.2 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/2.741, allocations: 148.2 kB / 1.2 GB, free: 126.4 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.001217/2.742, allocations: 0.8334 MB / 1.2 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/2.742, allocations: 118.6 kB / 1.201 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/2.742, allocations: 340.4 kB / 1.201 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/2.742, allocations: 38.56 kB / 1.201 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/2.742, allocations: 0 / 1.201 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0005419/2.743, allocations: 225 kB / 1.201 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/2.743, allocations: 55.41 kB / 1.201 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/2.743, allocations: 284.9 kB / 1.201 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/2.743, allocations: 29.7 kB / 1.202 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/2.743, allocations: 192.3 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/2.743, allocations: 39.36 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/2.743, allocations: 4.219 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/2.743, allocations: 338.8 kB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/2.744, allocations: 51.91 kB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/2.744, allocations: 107.3 kB / 1.202 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/2.744, allocations: 55.91 kB / 1.202 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/2.744, allocations: 0 / 1.202 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003202/2.744, allocations: 181.2 kB / 1.202 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/2.744, allocations: 182 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/2.744, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/2.744, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/2.744, allocations: 39.97 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/2.744, allocations: 3.938 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/2.745, allocations: 27.83 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/2.745, allocations: 15.98 kB / 1.203 GB, free: 123 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/2.745, allocations: 4.938 kB / 1.203 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002467/2.745, allocations: 111.9 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/2.745, allocations: 0 / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-06/2.745, allocations: 0 / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/2.745, allocations: 27.97 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/2.745, allocations: 4 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/2.745, allocations: 35.88 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/2.745, allocations: 7.984 kB / 1.203 GB, free: 122.8 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.0001573/2.745, allocations: 221 kB / 1.203 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/2.746, allocations: 35.53 kB / 1.203 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/2.746, allocations: 228.7 kB / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/2.746, allocations: 0 / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/2.746, allocations: 0 / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/2.746, allocations: 11.94 kB / 1.203 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/2.747, allocations: 0.61 MB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/2.747, allocations: 4 kB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/2.747, allocations: 28.08 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/2.747, allocations: 4 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/2.747, allocations: 3.953 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/2.747, allocations: 7.938 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.747, allocations: 0 / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/2.747, allocations: 356.2 kB / 1.204 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/2.748, allocations: 124.6 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/2.748, allocations: 11.94 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/2.748, allocations: 19.98 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/2.748, allocations: 19.91 kB / 1.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/2.748, allocations: 4 kB / 1.205 GB, free: 121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00019/2.748, allocations: 231.2 kB / 1.205 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.748, allocations: 4 kB / 1.205 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006126/2.749, allocations: 167.8 kB / 1.205 GB, free: 120.6 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.001136/2.75, allocations: 1.278 MB / 1.206 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000442/2.75, allocations: 195.8 kB / 1.206 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/2.75, allocations: 4 kB / 1.206 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/2.75, allocations: 79.89 kB / 1.206 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/2.751, allocations: 145 kB / 1.207 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/2.754, allocations: 1.839 MB / 1.208 GB, free: 117 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/2.754, allocations: 0.8038 MB / 1.209 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002742/2.754, allocations: 71.2 kB / 1.209 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/2.754, allocations: 107.4 kB / 1.209 GB, free: 116 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/2.754, allocations: 0 / 1.209 GB, free: 116 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/2.781, allocations: 10.1 MB / 1.219 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/2.781, allocations: 222.9 kB / 1.219 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/5.347, allocations: 3.125 kB / 1.219 GB, free: 105.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)