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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 64.48 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.015/0.1462, allocations: 15.04 MB / 0.5992 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.1515, allocations: 3.888 MB / 0.6029 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.1521, allocations: 19.88 kB / 0.603 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.1529, allocations: 194.7 kB / 0.6032 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.1545, allocations: 0.6725 MB / 0.6038 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.1558, allocations: 477.1 kB / 0.6043 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2163/0.372, allocations: 1.076 MB / 0.6053 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.3725, allocations: 277.2 kB / 0.6056 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.3731, allocations: 403.8 kB / 0.606 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3734, allocations: 269.1 kB / 0.6062 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.3734, allocations: 18.97 kB / 0.6062 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3745, allocations: 0.7128 MB / 0.6069 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.3746, allocations: 78.67 kB / 0.607 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3747, allocations: 188 kB / 0.6072 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.3756, allocations: 0.7222 MB / 0.6079 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3756, allocations: 4.406 kB / 0.6079 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3756, allocations: 0 / 0.6079 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.3756, allocations: 2.625 kB / 0.6079 GB, free: 36.31 MB / 0.4981 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.0008819/0.3765, allocations: 0.743 MB / 0.6086 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3766, allocations: 9.562 kB / 0.6086 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.3766, allocations: 54.59 kB / 0.6087 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3767, allocations: 40.94 kB / 0.6087 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.3774, allocations: 0.4947 MB / 0.6092 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3774, allocations: 12.05 kB / 0.6092 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3774, allocations: 20.12 kB / 0.6092 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3777, allocations: 176.9 kB / 0.6094 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3777, allocations: 2.906 kB / 0.6094 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3778, allocations: 3.938 kB / 0.6094 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3778, allocations: 5.75 kB / 0.6094 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.378, allocations: 135.5 kB / 0.6096 GB, free: 35.42 MB / 0.4981 GB 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.0008106/0.3789, allocations: 0.8697 MB / 0.6104 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3791, allocations: 118.2 kB / 0.6105 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3792, allocations: 79.3 kB / 0.6106 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3794, allocations: 335.3 kB / 0.6109 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3795, allocations: 30.56 kB / 0.6109 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.3795, allocations: 0 / 0.6109 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004726/0.3799, allocations: 225.8 kB / 0.6112 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.38, allocations: 54.92 kB / 0.6112 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.3802, allocations: 348 kB / 0.6115 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3802, allocations: 32.17 kB / 0.6116 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.3803, allocations: 187.1 kB / 0.6117 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.3804, allocations: 43.27 kB / 0.6118 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3804, allocations: 35.56 kB / 0.6118 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.3805, allocations: 343 kB / 0.6121 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3806, allocations: 54.78 kB / 0.6122 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3807, allocations: 84.94 kB / 0.6123 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3809, allocations: 124.3 kB / 0.6124 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3809, allocations: 0 / 0.6124 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002958/0.3812, allocations: 176.9 kB / 0.6126 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3813, allocations: 9.344 kB / 0.6126 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3813, allocations: 7.875 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3813, allocations: 2.875 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3814, allocations: 30.42 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3814, allocations: 0 / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3816, allocations: 19.33 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3816, allocations: 5.344 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00016/0.3818, allocations: 159.7 kB / 0.6128 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001188/0.3819, allocations: 83.72 kB / 0.6129 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001968/0.3821, allocations: 113.4 kB / 0.613 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.3821, allocations: 0 / 0.613 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002891/0.3824, allocations: 176.3 kB / 0.6131 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.3824, allocations: 5.844 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-06/0.3824, allocations: 0 / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.3825, allocations: 6.75 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.3826, allocations: 26.09 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.3826, allocations: 2.906 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3827, allocations: 18.8 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3827, allocations: 6.938 kB / 0.6132 GB, free: 33.37 MB / 0.4981 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 () * 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 5.34e-05/0.3828, allocations: 187.6 kB / 0.6134 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3829, allocations: 33.88 kB / 0.6134 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.3832, allocations: 239.7 kB / 0.6137 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3833, allocations: 0 / 0.6137 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3833, allocations: 2.844 kB / 0.6137 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3833, allocations: 7.281 kB / 0.6137 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.3839, allocations: 0.6311 MB / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3839, allocations: 0 / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.384, allocations: 26.34 kB / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.384, allocations: 3.031 kB / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.384, allocations: 7.938 kB / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.384, allocations: 6.438 kB / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.384, allocations: 0 / 0.6143 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.3844, allocations: 314.5 kB / 0.6146 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.3844, allocations: 127 kB / 0.6147 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3845, allocations: 2.438 kB / 0.6147 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3847, allocations: 21.48 kB / 0.6148 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3847, allocations: 17.55 kB / 0.6148 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3847, allocations: 3.062 kB / 0.6148 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001732/0.3849, allocations: 247.9 kB / 0.615 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3849, allocations: 4 kB / 0.615 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004836/0.3854, allocations: 189.8 kB / 0.6152 GB, free: 32.37 MB / 0.4981 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 () * 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.0007761/0.3862, allocations: 0.994 MB / 0.6162 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3866, allocations: 203.4 kB / 0.6164 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3866, allocations: 4 kB / 0.6164 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3868, allocations: 76.61 kB / 0.6164 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.3875, allocations: 143.1 kB / 0.6166 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3898, allocations: 2.741 MB / 0.6193 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.39, allocations: 0.7947 MB / 0.62 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000202/0.3902, allocations: 77.45 kB / 0.6201 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3903, allocations: 112.6 kB / 0.6202 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.3903, allocations: 0 / 0.6202 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.37/1.76, allocations: 9.976 MB / 0.63 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.99, allocations: 16.23 kB / 0.63 GB, free: 28.48 MB / 0.4981 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/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)