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.0009944/0.0009945, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005675/0.005675, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.101/1.101, allocations: 223.2 MB / 240.3 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 0.645/0.645, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 81.58 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01259/0.322, allocations: 14.5 MB / 0.5979 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3267, allocations: 3.857 MB / 0.6017 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.3271, allocations: 20.88 kB / 0.6017 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.3276, allocations: 150.2 kB / 0.6018 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.3291, allocations: 0.6214 MB / 0.6024 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3302, allocations: 430.5 kB / 0.6028 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.3317, allocations: 1.374 MB / 0.6042 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.332, allocations: 230.5 kB / 0.6044 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.3325, allocations: 360.6 kB / 0.6048 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.3328, allocations: 267.8 kB / 0.605 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.3329, allocations: 11.78 kB / 0.605 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009769/0.3338, allocations: 0.7009 MB / 0.6057 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.3339, allocations: 68.48 kB / 0.6058 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3341, allocations: 195.2 kB / 0.606 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.3348, allocations: 0.6997 MB / 0.6066 GB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3348, allocations: 4.938 kB / 0.6066 GB, free: 3.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3348, allocations: 0 / 0.6066 GB, free: 3.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3349, allocations: 0 / 0.6066 GB, free: 3.805 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.0008279/0.3357, allocations: 0.6853 MB / 0.6073 GB, free: 3.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.3357, allocations: 8.688 kB / 0.6073 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.3358, allocations: 49.17 kB / 0.6074 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.3358, allocations: 45.83 kB / 0.6074 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.3365, allocations: 0.4919 MB / 0.6079 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3366, allocations: 24.27 kB / 0.6079 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.3366, allocations: 20.67 kB / 0.6079 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.3369, allocations: 188.8 kB / 0.6081 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.337, allocations: 0 / 0.6081 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.337, allocations: 9.156 kB / 0.6081 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.337, allocations: 5.156 kB / 0.6081 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.3373, allocations: 149.8 kB / 0.6083 GB, free: 2.48 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.0009105/0.3382, allocations: 0.8582 MB / 0.6091 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.3384, allocations: 120.6 kB / 0.6092 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3386, allocations: 86.88 kB / 0.6093 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.3388, allocations: 335.3 kB / 0.6096 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3389, allocations: 32.44 kB / 0.6097 GB, free: 1.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.3389, allocations: 0 / 0.6097 GB, free: 1.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004896/0.3394, allocations: 239.4 kB / 0.6099 GB, free: 1.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3394, allocations: 53.72 kB / 0.6099 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3397, allocations: 343.5 kB / 0.6103 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3397, allocations: 30.95 kB / 0.6103 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3398, allocations: 198.9 kB / 0.6105 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3399, allocations: 41.2 kB / 0.6105 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.3399, allocations: 16.31 kB / 0.6105 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.34, allocations: 342.1 kB / 0.6109 GB, free: 144 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3401, allocations: 49.88 kB / 0.6109 GB, free: 124 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3403, allocations: 99.55 kB / 0.611 GB, free: 48 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.3406, allocations: 127 kB / 0.6111 GB, free: 15.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3406, allocations: 5.406 kB / 0.6111 GB, free: 15.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003321/0.3409, allocations: 190.5 kB / 0.6113 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.341, allocations: 103.3 kB / 0.6114 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.341, allocations: 1.156 kB / 0.6114 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.341, allocations: 1.062 kB / 0.6114 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3411, allocations: 33.23 kB / 0.6115 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3411, allocations: 1.875 kB / 0.6115 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3413, allocations: 30.88 kB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3413, allocations: 5.094 kB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/0.3414, allocations: 3.375 kB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002647/0.3416, allocations: 122.6 kB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.3416, allocations: 3.938 kB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-06/0.3416, allocations: 6.375 kB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.3417, allocations: 24.8 kB / 0.6116 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3418, allocations: 5.25 kB / 0.6116 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3419, allocations: 39.88 kB / 0.6117 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.342, allocations: 3.844 kB / 0.6117 GB, free: 15.64 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.0001241/0.3421, allocations: 221.6 kB / 0.6119 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.3421, allocations: 36.06 kB / 0.6119 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.3426, allocations: 246.4 kB / 0.6122 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3426, allocations: 2.281 kB / 0.6122 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3426, allocations: 0 / 0.6122 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3426, allocations: 3.984 kB / 0.6122 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.3433, allocations: 0.6475 MB / 0.6128 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3434, allocations: 0.9688 kB / 0.6128 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.3435, allocations: 30.05 kB / 0.6128 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3435, allocations: 2.469 kB / 0.6128 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3435, allocations: 5.188 kB / 0.6128 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3435, allocations: 2.594 kB / 0.6128 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3435, allocations: 1.531 kB / 0.6128 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3439, allocations: 335.8 kB / 0.6132 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.344, allocations: 132.2 kB / 0.6133 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.344, allocations: 2.094 kB / 0.6133 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3442, allocations: 26.44 kB / 0.6133 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3443, allocations: 9.047 kB / 0.6133 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3443, allocations: 13.19 kB / 0.6133 GB, free: 14.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3445, allocations: 252.1 kB / 0.6136 GB, free: 14.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3445, allocations: 0 / 0.6136 GB, free: 14.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.345, allocations: 193 kB / 0.6138 GB, free: 14.1 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.0009064/0.3459, allocations: 1.006 MB / 0.6147 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3463, allocations: 198.2 kB / 0.6149 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3464, allocations: 5.156 kB / 0.6149 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3465, allocations: 85.39 kB / 0.615 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3473, allocations: 142.5 kB / 0.6152 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3502, allocations: 2.876 MB / 0.618 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3504, allocations: 0.7975 MB / 0.6187 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3507, allocations: 77.39 kB / 0.6188 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3508, allocations: 115.9 kB / 0.6189 GB, free: 10.06 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3508, allocations: 0.875 kB / 0.6189 GB, free: 10.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.354/3.704, allocations: 9.466 MB / 0.6282 GB, free: 2.375 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/3.705, allocations: 236.6 kB / 0.6284 GB, free: 2.125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/8.555, allocations: 0 / 0.6284 GB, free: 2.125 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)