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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001384/0.001384, allocations: 193.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6893/0.6893, allocations: 132.2 MB / 422.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.05 kB / 0.5012 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3429, allocations: 80.2 MB / 0.5795 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01469/0.3577, allocations: 15.01 MB / 0.5942 GB, free: 9.797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.3633, allocations: 3.919 MB / 0.598 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.3638, allocations: 21.38 kB / 0.598 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.3643, allocations: 142.4 kB / 0.5981 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.366, allocations: 0.6277 MB / 0.5988 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3672, allocations: 426.7 kB / 0.5992 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.3689, allocations: 1.372 MB / 0.6005 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.3693, allocations: 238.5 kB / 0.6007 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.3699, allocations: 366.4 kB / 0.6011 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.3702, allocations: 277.1 kB / 0.6013 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.3702, allocations: 16.19 kB / 0.6014 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.3714, allocations: 0.6962 MB / 0.602 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.3715, allocations: 67.52 kB / 0.6021 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3717, allocations: 175.9 kB / 0.6023 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009017/0.3726, allocations: 0.703 MB / 0.603 GB, free: 4.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3726, allocations: 1.188 kB / 0.603 GB, free: 4.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3726, allocations: 0 / 0.603 GB, free: 4.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3726, allocations: 0 / 0.603 GB, free: 4.27 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.001116/0.3738, allocations: 0.7469 MB / 0.6037 GB, free: 3.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3738, allocations: 9.938 kB / 0.6037 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.3739, allocations: 49.27 kB / 0.6037 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.374, allocations: 49.75 kB / 0.6038 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.3748, allocations: 0.4949 MB / 0.6043 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3748, allocations: 16.36 kB / 0.6043 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3749, allocations: 16.38 kB / 0.6043 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3752, allocations: 184.5 kB / 0.6045 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3753, allocations: 0 / 0.6045 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3753, allocations: 5.469 kB / 0.6045 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3753, allocations: 7.938 kB / 0.6045 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3756, allocations: 137 kB / 0.6046 GB, free: 2.914 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.001094/0.3767, allocations: 0.8587 MB / 0.6055 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.377, allocations: 121.4 kB / 0.6056 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3772, allocations: 73.66 kB / 0.6056 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.3776, allocations: 339.7 kB / 0.606 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3776, allocations: 31.69 kB / 0.606 GB, free: 1.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3776, allocations: 0.9688 kB / 0.606 GB, free: 1.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000568/0.3782, allocations: 223.8 kB / 0.6062 GB, free: 1.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3782, allocations: 52.53 kB / 0.6063 GB, free: 1.391 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.3786, allocations: 355.7 kB / 0.6066 GB, free: 1.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3786, allocations: 27.08 kB / 0.6066 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3787, allocations: 187.2 kB / 0.6068 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3788, allocations: 45.17 kB / 0.6069 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3789, allocations: 35.05 kB / 0.6069 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.379, allocations: 341.8 kB / 0.6072 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3791, allocations: 53.69 kB / 0.6073 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3793, allocations: 90.56 kB / 0.6073 GB, free: 472 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3796, allocations: 114 kB / 0.6075 GB, free: 408 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.3796, allocations: 0 / 0.6075 GB, free: 408 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003764/0.38, allocations: 189 kB / 0.6076 GB, free: 292 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.38, allocations: 8.031 kB / 0.6076 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.38, allocations: 0 / 0.6076 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.38, allocations: 1.25 kB / 0.6076 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3802, allocations: 23.39 kB / 0.6077 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3802, allocations: 4.938 kB / 0.6077 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.3804, allocations: 33.56 kB / 0.6077 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3805, allocations: 4.625 kB / 0.6077 GB, free: 264 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002179/0.3807, allocations: 154.2 kB / 0.6079 GB, free: 144 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001553/0.3809, allocations: 93.89 kB / 0.6079 GB, free: 68 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002467/0.3811, allocations: 115.4 kB / 0.6081 GB, free: 0 / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3811, allocations: 1.469 kB / 0.6081 GB, free: 0 / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000383/0.3815, allocations: 174.8 kB / 0.6082 GB, free: 15.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.3815, allocations: 4.75 kB / 0.6082 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3815, allocations: 1.188 kB / 0.6082 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-06/0.3815, allocations: 1.156 kB / 0.6082 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3817, allocations: 23.05 kB / 0.6083 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.3817, allocations: 0.9062 kB / 0.6083 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3819, allocations: 37.53 kB / 0.6083 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3819, allocations: 3.219 kB / 0.6083 GB, free: 15.87 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.382, allocations: 188 kB / 0.6085 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.3821, allocations: 40.05 kB / 0.6085 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.3826, allocations: 232.4 kB / 0.6087 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3826, allocations: 1.156 kB / 0.6087 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3826, allocations: 1.438 kB / 0.6087 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3826, allocations: 0 / 0.6087 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.3835, allocations: 0.6339 MB / 0.6094 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3835, allocations: 1.594 kB / 0.6094 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3836, allocations: 22.7 kB / 0.6094 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3836, allocations: 2.406 kB / 0.6094 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3837, allocations: 5.438 kB / 0.6094 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3837, allocations: 6.141 kB / 0.6094 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3837, allocations: 5.062 kB / 0.6094 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.3841, allocations: 315.7 kB / 0.6097 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3842, allocations: 126.2 kB / 0.6098 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.3843, allocations: 10.69 kB / 0.6098 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3845, allocations: 27.16 kB / 0.6099 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3846, allocations: 18.64 kB / 0.6099 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3846, allocations: 4.406 kB / 0.6099 GB, free: 14.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3848, allocations: 251.4 kB / 0.6101 GB, free: 14.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3848, allocations: 0 / 0.6101 GB, free: 14.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005866/0.3854, allocations: 189.2 kB / 0.6103 GB, free: 14.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.3865, allocations: 0.9921 MB / 0.6113 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.387, allocations: 183.9 kB / 0.6114 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.387, allocations: 1.469 kB / 0.6114 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3872, allocations: 76.02 kB / 0.6115 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.388, allocations: 149.9 kB / 0.6117 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3914, allocations: 2.839 MB / 0.6144 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3918, allocations: 0.7888 MB / 0.6152 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.392, allocations: 74.09 kB / 0.6153 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3922, allocations: 124.2 kB / 0.6154 GB, free: 10.34 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3922, allocations: 0 / 0.6154 GB, free: 10.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8956/1.288, allocations: 9.589 MB / 0.6248 GB, free: 2.926 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.288, allocations: 233.9 kB / 0.625 GB, free: 2.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/3.277, allocations: 0 / 0.625 GB, free: 2.676 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/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)