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.001553/0.001553, allocations: 174.6 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.7426/0.7426, 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.625/1.625, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.0009639/0.000964, allocations: 93.16 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4e-05, allocations: 3.844 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.501, allocations: 375.1 MB / 1.007 GB, free: 247.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/1.501, allocations: 86.39 kB / 1.007 GB, free: 247.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3416/1.843, allocations: 171.6 MB / 1.175 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.843, allocations: 0 / 1.175 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.428e-05/1.843, allocations: 12 kB / 1.175 GB, free: 73.79 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.001234/1.844, allocations: 0.6731 MB / 1.175 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.844, allocations: 12.03 kB / 1.175 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.78e-05/1.844, allocations: 46.55 kB / 1.175 GB, free: 73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.844, allocations: 43.53 kB / 1.175 GB, free: 72.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0334/1.878, allocations: 14.63 MB / 1.19 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/1.878, allocations: 16.33 kB / 1.19 GB, free: 58.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/1.878, allocations: 20 kB / 1.19 GB, free: 58.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/1.878, allocations: 164.2 kB / 1.19 GB, free: 57.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/1.878, allocations: 0 / 1.19 GB, free: 57.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/1.878, allocations: 8 kB / 1.19 GB, free: 57.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.878, allocations: 4 kB / 1.19 GB, free: 57.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/1.878, allocations: 100.2 kB / 1.19 GB, free: 57.83 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.001327/1.88, allocations: 0.8373 MB / 1.191 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/1.88, allocations: 102.6 kB / 1.191 GB, free: 56.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/1.88, allocations: 48.86 kB / 1.191 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/1.88, allocations: 336.4 kB / 1.191 GB, free: 56.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.88, allocations: 30.78 kB / 1.191 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 3.657e-06/1.88, allocations: 4 kB / 1.191 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003261/1.881, allocations: 145.1 kB / 1.191 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.881, allocations: 55.41 kB / 1.191 GB, free: 56.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/1.881, allocations: 282.9 kB / 1.192 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.881, allocations: 33.7 kB / 1.192 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/1.881, allocations: 192.2 kB / 1.192 GB, free: 55.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/1.881, allocations: 39.45 kB / 1.192 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/1.881, allocations: 0 / 1.192 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/1.881, allocations: 350.8 kB / 1.192 GB, free: 55.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/1.881, allocations: 24 kB / 1.192 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/1.882, allocations: 78.86 kB / 1.192 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/1.882, allocations: 39.91 kB / 1.192 GB, free: 55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.882, allocations: 3.938 kB / 1.192 GB, free: 55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002617/1.882, allocations: 145.3 kB / 1.193 GB, free: 54.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.882, allocations: 187.1 kB / 1.193 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.882, allocations: 0 / 1.193 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.882, allocations: 4 kB / 1.193 GB, free: 54.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/1.882, allocations: 27.97 kB / 1.193 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.882, allocations: 4 kB / 1.193 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.882, allocations: 35.77 kB / 1.193 GB, free: 54.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/1.882, allocations: 11.98 kB / 1.193 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.883, allocations: 4 kB / 1.193 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001459/1.883, allocations: 71.91 kB / 1.193 GB, free: 54.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/1.883, allocations: 4 kB / 1.193 GB, free: 54.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/1.883, allocations: 4 kB / 1.193 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.883, allocations: 27.98 kB / 1.193 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.883, allocations: 7.953 kB / 1.193 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.883, allocations: 31.81 kB / 1.193 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.883, allocations: 4 kB / 1.193 GB, free: 54.42 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.238e-05/1.883, allocations: 123.2 kB / 1.193 GB, free: 54.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/1.883, allocations: 35.61 kB / 1.193 GB, free: 54.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/1.884, allocations: 190 kB / 1.193 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.884, allocations: 4 kB / 1.193 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.884, allocations: 0 / 1.193 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.884, allocations: 3.953 kB / 1.193 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007216/1.884, allocations: 0.5749 MB / 1.194 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.884, allocations: 0 / 1.194 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.884, allocations: 31.98 kB / 1.194 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.884, allocations: 4 kB / 1.194 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.885, allocations: 3.953 kB / 1.194 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.885, allocations: 11.92 kB / 1.194 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.885, allocations: 0 / 1.194 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/1.885, allocations: 320.4 kB / 1.194 GB, free: 53.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/1.885, allocations: 120.6 kB / 1.194 GB, free: 52.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/1.885, allocations: 15.94 kB / 1.194 GB, free: 52.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.885, allocations: 19.97 kB / 1.194 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/1.885, allocations: 19.92 kB / 1.194 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.885, allocations: 4 kB / 1.194 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002222/1.886, allocations: 229.2 kB / 1.195 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/1.886, allocations: 4 kB / 1.195 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007154/1.886, allocations: 163.8 kB / 1.195 GB, free: 52.44 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.001195/1.888, allocations: 1.245 MB / 1.196 GB, free: 51.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003149/1.888, allocations: 150.1 kB / 1.196 GB, free: 51.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.888, allocations: 3.938 kB / 1.196 GB, free: 51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/1.888, allocations: 64.55 kB / 1.196 GB, free: 50.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/1.889, allocations: 133.6 kB / 1.196 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/1.89, allocations: 492.5 kB / 1.197 GB, free: 50.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.89, allocations: 0.7999 MB / 1.198 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.89, allocations: 87.36 kB / 1.198 GB, free: 49.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.891, allocations: 111.3 kB / 1.198 GB, free: 49.25 MB / 0.6823 GB Notification: Performance of SimCode: time 7.32e-07/1.891, allocations: 0 / 1.198 GB, free: 49.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/1.918, allocations: 10.85 MB / 1.208 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/1.918, allocations: 195.2 kB / 1.208 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/4.335, allocations: 3.938 kB / 1.209 GB, free: 38.38 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)