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.001384/0.001384, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7211/0.7211, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.471/1.471, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 79.97 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.309e-05, allocations: 3.812 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.497, allocations: 375.2 MB / 1.007 GB, free: 205 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.497, allocations: 85.86 kB / 1.007 GB, free: 205 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3461/1.843, allocations: 171.6 MB / 1.175 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.142e-06/1.843, allocations: 0 / 1.175 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.046e-05/1.843, allocations: 16 kB / 1.175 GB, free: 59.03 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.00135/1.845, allocations: 0.677 MB / 1.175 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.845, allocations: 8.031 kB / 1.175 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.545e-05/1.845, allocations: 50.48 kB / 1.175 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/1.845, allocations: 43.53 kB / 1.175 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03228/1.877, allocations: 14.62 MB / 1.19 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/1.877, allocations: 16.33 kB / 1.19 GB, free: 43.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/1.878, allocations: 20 kB / 1.19 GB, free: 43.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/1.878, allocations: 152.3 kB / 1.19 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.878, allocations: 0 / 1.19 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.878, allocations: 4 kB / 1.19 GB, free: 43.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.878, allocations: 7.984 kB / 1.19 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/1.878, allocations: 112.2 kB / 1.19 GB, free: 43.07 MB / 0.6823 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.001293/1.88, allocations: 0.8294 MB / 1.191 GB, free: 42.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.88, allocations: 98.67 kB / 1.191 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/1.88, allocations: 56.78 kB / 1.191 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/1.88, allocations: 336.4 kB / 1.191 GB, free: 41.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.88, allocations: 34.56 kB / 1.191 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/1.88, allocations: 224 / 1.191 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003518/1.881, allocations: 145.1 kB / 1.191 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.881, allocations: 51.41 kB / 1.191 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/1.881, allocations: 282.9 kB / 1.192 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.881, allocations: 33.7 kB / 1.192 GB, free: 41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.881, allocations: 204.2 kB / 1.192 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/1.881, allocations: 35.45 kB / 1.192 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/1.881, allocations: 0 / 1.192 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/1.881, allocations: 350.8 kB / 1.192 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/1.881, allocations: 27.98 kB / 1.192 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/1.881, allocations: 86.8 kB / 1.192 GB, free: 40.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/1.881, allocations: 31.98 kB / 1.192 GB, free: 40.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/1.881, allocations: 0 / 1.192 GB, free: 40.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002236/1.882, allocations: 145.2 kB / 1.193 GB, free: 40.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.882, allocations: 185.9 kB / 1.193 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.882, allocations: 0 / 1.193 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.882, allocations: 4 kB / 1.193 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/1.882, allocations: 27.98 kB / 1.193 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.882, allocations: 4 kB / 1.193 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.882, allocations: 35.81 kB / 1.193 GB, free: 39.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/1.882, allocations: 4 kB / 1.193 GB, free: 39.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.882, allocations: 4 kB / 1.193 GB, free: 39.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001465/1.882, allocations: 87.92 kB / 1.193 GB, free: 39.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/1.882, allocations: 4 kB / 1.193 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/1.882, allocations: 288 / 1.193 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/1.883, allocations: 27.92 kB / 1.193 GB, free: 39.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/1.883, allocations: 7.953 kB / 1.193 GB, free: 39.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/1.883, allocations: 35.75 kB / 1.193 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.883, allocations: 12 kB / 1.193 GB, free: 39.65 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 () * 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 8.362e-05/1.883, allocations: 109 kB / 1.193 GB, free: 39.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/1.883, allocations: 31.62 kB / 1.193 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/1.883, allocations: 193.7 kB / 1.193 GB, free: 39.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/1.883, allocations: 7.984 kB / 1.193 GB, free: 39.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.883, allocations: 0 / 1.193 GB, free: 39.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.883, allocations: 3.953 kB / 1.193 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/1.884, allocations: 0.5749 MB / 1.194 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.884, allocations: 0 / 1.194 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/1.884, allocations: 31.98 kB / 1.194 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.884, allocations: 0 / 1.194 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.884, allocations: 7.953 kB / 1.194 GB, free: 38.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.884, allocations: 0 / 1.194 GB, free: 38.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.884, allocations: 96 / 1.194 GB, free: 38.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/1.884, allocations: 327.2 kB / 1.194 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.885, allocations: 124.6 kB / 1.194 GB, free: 38.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/1.885, allocations: 7.984 kB / 1.194 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.885, allocations: 15.98 kB / 1.194 GB, free: 38.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.885, allocations: 15.98 kB / 1.194 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.885, allocations: 4 kB / 1.194 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001815/1.885, allocations: 233.2 kB / 1.195 GB, free: 37.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.885, allocations: 0 / 1.195 GB, free: 37.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006459/1.886, allocations: 171.8 kB / 1.195 GB, free: 37.68 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 () * 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.001177/1.887, allocations: 1.243 MB / 1.196 GB, free: 36.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002924/1.887, allocations: 154 kB / 1.196 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.887, allocations: 0 / 1.196 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/1.887, allocations: 71.97 kB / 1.196 GB, free: 36.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/1.888, allocations: 144.6 kB / 1.196 GB, free: 36.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009666/1.889, allocations: 480.5 kB / 1.197 GB, free: 35.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.889, allocations: 0.8077 MB / 1.198 GB, free: 34.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004299/1.89, allocations: 91.34 kB / 1.198 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.89, allocations: 107.4 kB / 1.198 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/1.89, allocations: 0 / 1.198 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/1.924, allocations: 10.84 MB / 1.208 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/1.924, allocations: 188.4 kB / 1.208 GB, free: 23.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/4.314, allocations: 0 / 1.208 GB, free: 23.62 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)