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.0008544/0.0008544, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008928/0.0008927, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 12.55 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4189, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01909/0.438, allocations: 13.78 MB / 0.5966 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.4438, allocations: 3.629 MB / 0.6001 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.4445, allocations: 20.62 kB / 0.6002 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.4452, allocations: 132.5 kB / 0.6003 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.4471, allocations: 0.5553 MB / 0.6008 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.4486, allocations: 402.1 kB / 0.6012 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.4508, allocations: 1.199 MB / 0.6024 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.4513, allocations: 223.3 kB / 0.6026 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009298/0.4523, allocations: 354.5 kB / 0.6029 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.4528, allocations: 250.2 kB / 0.6032 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.4528, allocations: 11.88 kB / 0.6032 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.4541, allocations: 0.629 MB / 0.6038 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4543, allocations: 61.47 kB / 0.6039 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.4545, allocations: 93.23 kB / 0.6039 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4555, allocations: 491.7 kB / 0.6044 GB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4556, allocations: 0 / 0.6044 GB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4556, allocations: 0 / 0.6044 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.4556, allocations: 1.125 kB / 0.6044 GB, free: 5.199 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.001772/0.4574, allocations: 0.6957 MB / 0.6051 GB, free: 4.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4574, allocations: 9.094 kB / 0.6051 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.917e-05/0.4575, allocations: 47.58 kB / 0.6052 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.4577, allocations: 45.03 kB / 0.6052 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.459, allocations: 483.6 kB / 0.6057 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.459, allocations: 16.42 kB / 0.6057 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.4591, allocations: 21.06 kB / 0.6057 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.4596, allocations: 190.9 kB / 0.6059 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4596, allocations: 0 / 0.6059 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.4596, allocations: 10.73 kB / 0.6059 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.4596, allocations: 3 kB / 0.6059 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.46, allocations: 149.5 kB / 0.606 GB, free: 3.891 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.00154/0.4616, allocations: 0.8656 MB / 0.6069 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.4618, allocations: 119.9 kB / 0.607 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.462, allocations: 83.03 kB / 0.6071 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.4623, allocations: 339.6 kB / 0.6074 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4624, allocations: 31.69 kB / 0.6074 GB, free: 2.551 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.4624, allocations: 1.031 kB / 0.6074 GB, free: 2.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006436/0.463, allocations: 237.6 kB / 0.6076 GB, free: 2.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.4631, allocations: 52.75 kB / 0.6077 GB, free: 2.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.4635, allocations: 341.2 kB / 0.608 GB, free: 2.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4636, allocations: 35.09 kB / 0.6081 GB, free: 2.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4637, allocations: 198.5 kB / 0.6082 GB, free: 1.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.4638, allocations: 36.64 kB / 0.6083 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.4638, allocations: 4.969 kB / 0.6083 GB, free: 1.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.464, allocations: 338.2 kB / 0.6086 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4641, allocations: 48.55 kB / 0.6087 GB, free: 1.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.4643, allocations: 97.81 kB / 0.6087 GB, free: 1.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4645, allocations: 60.25 kB / 0.6088 GB, free: 1.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4645, allocations: 0 / 0.6088 GB, free: 1.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004113/0.4649, allocations: 189.1 kB / 0.609 GB, free: 1.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.4651, allocations: 105.5 kB / 0.6091 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4651, allocations: 96 / 0.6091 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4652, allocations: 4.969 kB / 0.6091 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4653, allocations: 29.95 kB / 0.6091 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.4653, allocations: 9.047 kB / 0.6091 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.4656, allocations: 31.72 kB / 0.6092 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.4656, allocations: 4.562 kB / 0.6092 GB, free: 1.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.4656, allocations: 7.844 kB / 0.6092 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000286/0.4659, allocations: 121.6 kB / 0.6093 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.4659, allocations: 0 / 0.6093 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/0.466, allocations: 1.469 kB / 0.6093 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4661, allocations: 30.17 kB / 0.6093 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.4661, allocations: 4 kB / 0.6093 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4663, allocations: 35.53 kB / 0.6094 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.4663, allocations: 9.266 kB / 0.6094 GB, free: 1.109 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.0002124/0.4666, allocations: 221.7 kB / 0.6096 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.4666, allocations: 36.28 kB / 0.6096 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.4671, allocations: 230.4 kB / 0.6098 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4671, allocations: 1.188 kB / 0.6098 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4671, allocations: 1.281 kB / 0.6098 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4672, allocations: 16.06 kB / 0.6098 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.4681, allocations: 0.6423 MB / 0.6105 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4681, allocations: 5.344 kB / 0.6105 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.4682, allocations: 26.2 kB / 0.6105 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4682, allocations: 1.094 kB / 0.6105 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4682, allocations: 6.688 kB / 0.6105 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4682, allocations: 9.078 kB / 0.6105 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4683, allocations: 1.312 kB / 0.6105 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.4687, allocations: 325 kB / 0.6108 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.4689, allocations: 131.1 kB / 0.611 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4689, allocations: 2.031 kB / 0.611 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4691, allocations: 31.16 kB / 0.611 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.4692, allocations: 17.45 kB / 0.611 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4692, allocations: 5 kB / 0.611 GB, free: 15.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.4695, allocations: 247.9 kB / 0.6112 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.4695, allocations: 0 / 0.6112 GB, free: 15.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.4702, allocations: 196.5 kB / 0.6114 GB, free: 15.55 MB / 462.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.001263/0.4715, allocations: 0.9975 MB / 0.6124 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.472, allocations: 196.5 kB / 0.6126 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.472, allocations: 0 / 0.6126 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.4722, allocations: 88.47 kB / 0.6127 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.473, allocations: 144.2 kB / 0.6128 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.4761, allocations: 1.755 MB / 0.6145 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.4767, allocations: 0.7967 MB / 0.6153 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.4771, allocations: 76.98 kB / 0.6154 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.4773, allocations: 113.6 kB / 0.6155 GB, free: 12.54 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4773, allocations: 0 / 0.6155 GB, free: 12.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.5157, allocations: 9.541 MB / 0.6248 GB, free: 5.543 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.516, allocations: 224.1 kB / 0.625 GB, free: 5.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.486, allocations: 3 kB / 0.625 GB, free: 5.305 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: