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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.269/2.269, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.131/1.131, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006256/0.0006257, allocations: 8 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5407, allocations: 81.57 MB / 0.583 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01286/0.5536, allocations: 12.64 MB / 0.5953 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.5585, allocations: 3.334 MB / 0.5986 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.5588, allocations: 14.94 kB / 0.5986 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.5594, allocations: 186.4 kB / 0.5987 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.5609, allocations: 0.6587 MB / 0.5994 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.5623, allocations: 0.5428 MB / 0.5999 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.5634, allocations: 0.7296 MB / 0.6006 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.5638, allocations: 227.6 kB / 0.6008 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.5643, allocations: 335.3 kB / 0.6012 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.5645, allocations: 182.6 kB / 0.6013 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.5646, allocations: 15.31 kB / 0.6014 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.5654, allocations: 0.5033 MB / 0.6018 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.5655, allocations: 58.31 kB / 0.6019 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.831e-05/0.5656, allocations: 93.36 kB / 0.602 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.5662, allocations: 441.2 kB / 0.6024 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.5662, allocations: 4 kB / 0.6024 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5662, allocations: 0 / 0.6024 GB, free: 6.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.5662, allocations: 0 / 0.6024 GB, free: 6.898 MB / 446.1 MB 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.0009462/0.5671, allocations: 0.672 MB / 0.6031 GB, free: 6.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5672, allocations: 9.25 kB / 0.6031 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.5672, allocations: 56.52 kB / 0.6031 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.5673, allocations: 41.25 kB / 0.6032 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.5681, allocations: 421.3 kB / 0.6036 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5681, allocations: 15.95 kB / 0.6036 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.5681, allocations: 17.28 kB / 0.6036 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.5685, allocations: 186.9 kB / 0.6038 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5685, allocations: 0 / 0.6038 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5685, allocations: 9.312 kB / 0.6038 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5685, allocations: 3.656 kB / 0.6038 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.5689, allocations: 150.9 kB / 0.6039 GB, free: 5.652 MB / 446.1 MB 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.001105/0.57, allocations: 0.8873 MB / 0.6048 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.5703, allocations: 125.3 kB / 0.6049 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.5706, allocations: 339.9 kB / 0.6053 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5706, allocations: 35.75 kB / 0.6053 GB, free: 4.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.5706, allocations: 0 / 0.6053 GB, free: 4.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000556/0.5712, allocations: 245.9 kB / 0.6055 GB, free: 4.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5712, allocations: 53.62 kB / 0.6056 GB, free: 4.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.5717, allocations: 368.9 kB / 0.6059 GB, free: 3.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5717, allocations: 26.55 kB / 0.6059 GB, free: 3.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5718, allocations: 191.4 kB / 0.6061 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.5719, allocations: 44.61 kB / 0.6062 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5719, allocations: 4 kB / 0.6062 GB, free: 3.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.572, allocations: 342.5 kB / 0.6065 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5722, allocations: 53.48 kB / 0.6066 GB, free: 3.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.5723, allocations: 84.91 kB / 0.6066 GB, free: 3.242 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5725, allocations: 64.44 kB / 0.6067 GB, free: 3.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5725, allocations: 1.25 kB / 0.6067 GB, free: 3.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003546/0.5728, allocations: 189.5 kB / 0.6069 GB, free: 3.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.5729, allocations: 189.9 kB / 0.6071 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5729, allocations: 1.188 kB / 0.6071 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.573, allocations: 0.9688 kB / 0.6071 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.5731, allocations: 26.14 kB / 0.6071 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5731, allocations: 5.125 kB / 0.6071 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.5734, allocations: 31.34 kB / 0.6071 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5734, allocations: 5.438 kB / 0.6071 GB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.5734, allocations: 3.281 kB / 0.6071 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003024/0.5737, allocations: 133.8 kB / 0.6073 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.5737, allocations: 1.062 kB / 0.6073 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-06/0.5737, allocations: 1.031 kB / 0.6073 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5738, allocations: 25.83 kB / 0.6073 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.5739, allocations: 1.25 kB / 0.6073 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5741, allocations: 43.98 kB / 0.6073 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5741, allocations: 3.625 kB / 0.6073 GB, free: 2.797 MB / 446.1 MB 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.0001598/0.5743, allocations: 221.9 kB / 0.6075 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.5743, allocations: 36.44 kB / 0.6076 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.5748, allocations: 235.4 kB / 0.6078 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.5748, allocations: 5.453 kB / 0.6078 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5748, allocations: 1.438 kB / 0.6078 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5748, allocations: 7.953 kB / 0.6078 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.5757, allocations: 0.6527 MB / 0.6085 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5758, allocations: 0 / 0.6085 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5759, allocations: 26.33 kB / 0.6085 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5759, allocations: 6.156 kB / 0.6085 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5759, allocations: 6.297 kB / 0.6085 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5759, allocations: 5 kB / 0.6085 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5759, allocations: 1.469 kB / 0.6085 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.5764, allocations: 370.7 kB / 0.6089 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5765, allocations: 127.5 kB / 0.609 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.5766, allocations: 10.11 kB / 0.609 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.5768, allocations: 30.33 kB / 0.609 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5769, allocations: 10.08 kB / 0.609 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.5769, allocations: 12.86 kB / 0.609 GB, free: 1.387 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.5772, allocations: 266 kB / 0.6093 GB, free: 1.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5772, allocations: 4.844 kB / 0.6093 GB, free: 1.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005989/0.5778, allocations: 194.1 kB / 0.6095 GB, free: 1.168 MB / 446.1 MB 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.00111/0.5789, allocations: 1.246 MB / 0.6107 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.5794, allocations: 197.3 kB / 0.6109 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5794, allocations: 1.531 kB / 0.6109 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.5796, allocations: 88.36 kB / 0.611 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.5804, allocations: 155.7 kB / 0.6111 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.583, allocations: 1.982 MB / 0.6131 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5834, allocations: 0.7982 MB / 0.6138 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.5836, allocations: 77.22 kB / 0.6139 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5838, allocations: 117.3 kB / 0.614 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5838, allocations: 0 / 0.614 GB, free: 13.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.533/1.117, allocations: 9.959 MB / 0.6237 GB, free: 6.594 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.117, allocations: 229.9 kB / 0.624 GB, free: 6.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/4.427, allocations: 0 / 0.624 GB, free: 6.348 MB / 462.1 MB (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) Environment - environmentSimulation: