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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001045, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6634/0.6634, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 66.23 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2879, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01372/0.3017, allocations: 15.04 MB / 0.5949 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.3064, allocations: 3.878 MB / 0.5987 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.3066, allocations: 26.12 kB / 0.5987 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3071, allocations: 192.2 kB / 0.5989 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3083, allocations: 0.6768 MB / 0.5995 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009457/0.3093, allocations: 469.5 kB / 0.6 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3103, allocations: 1.083 MB / 0.601 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.3107, allocations: 289.6 kB / 0.6013 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.3111, allocations: 394.2 kB / 0.6017 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.3114, allocations: 268.9 kB / 0.602 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.3115, allocations: 21.12 kB / 0.602 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009216/0.3124, allocations: 0.7133 MB / 0.6027 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.3125, allocations: 71.75 kB / 0.6027 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3126, allocations: 187.1 kB / 0.6029 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.3134, allocations: 0.7287 MB / 0.6036 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3134, allocations: 0 / 0.6036 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3135, allocations: 3.938 kB / 0.6036 GB, free: 4.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3135, allocations: 0 / 0.6036 GB, free: 4.047 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.0009187/0.3144, allocations: 0.7395 MB / 0.6044 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3144, allocations: 13.06 kB / 0.6044 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3145, allocations: 52.61 kB / 0.6044 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3146, allocations: 54.72 kB / 0.6045 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.3153, allocations: 499.5 kB / 0.6049 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3153, allocations: 16.3 kB / 0.605 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3153, allocations: 20.38 kB / 0.605 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3156, allocations: 179.5 kB / 0.6052 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3157, allocations: 0.9375 kB / 0.6052 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3157, allocations: 9.094 kB / 0.6052 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3157, allocations: 4.375 kB / 0.6052 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.316, allocations: 136.3 kB / 0.6053 GB, free: 2.695 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.0009176/0.3169, allocations: 0.8675 MB / 0.6061 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3172, allocations: 116.4 kB / 0.6063 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3173, allocations: 74.84 kB / 0.6063 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.3176, allocations: 335.7 kB / 0.6066 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3176, allocations: 39.44 kB / 0.6067 GB, free: 1.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3176, allocations: 0 / 0.6067 GB, free: 1.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004999/0.3181, allocations: 217.4 kB / 0.6069 GB, free: 1.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3182, allocations: 52.69 kB / 0.6069 GB, free: 1.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3185, allocations: 352.2 kB / 0.6073 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3185, allocations: 26.67 kB / 0.6073 GB, free: 0.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3186, allocations: 191.1 kB / 0.6075 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3186, allocations: 47.92 kB / 0.6075 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.3187, allocations: 35.27 kB / 0.6076 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.3188, allocations: 338.4 kB / 0.6079 GB, free: 352 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3189, allocations: 53.59 kB / 0.6079 GB, free: 320 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3191, allocations: 89.25 kB / 0.608 GB, free: 252 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.3193, allocations: 119.2 kB / 0.6081 GB, free: 184 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3193, allocations: 0 / 0.6081 GB, free: 184 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003341/0.3197, allocations: 185.1 kB / 0.6083 GB, free: 72 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3197, allocations: 8.625 kB / 0.6083 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3197, allocations: 1 kB / 0.6083 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3197, allocations: 5.25 kB / 0.6083 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3199, allocations: 27.98 kB / 0.6084 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3199, allocations: 1 kB / 0.6084 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.32, allocations: 20.78 kB / 0.6084 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3201, allocations: 8.25 kB / 0.6084 GB, free: 40 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001985/0.3203, allocations: 153.8 kB / 0.6085 GB, free: 15.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001405/0.3204, allocations: 85.22 kB / 0.6086 GB, free: 15.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002221/0.3206, allocations: 117.8 kB / 0.6087 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.3207, allocations: 0 / 0.6087 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003178/0.321, allocations: 174 kB / 0.6089 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.321, allocations: 9.938 kB / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.321, allocations: 0 / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.321, allocations: 1.062 kB / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3211, allocations: 27.42 kB / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.3211, allocations: 1.062 kB / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3213, allocations: 17.67 kB / 0.6089 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3213, allocations: 4.031 kB / 0.6089 GB, free: 15.67 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 7.892e-05/0.3214, allocations: 195.1 kB / 0.6091 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.3215, allocations: 45.19 kB / 0.6092 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3219, allocations: 217.2 kB / 0.6094 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3219, allocations: 2.344 kB / 0.6094 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3219, allocations: 0 / 0.6094 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3219, allocations: 0.8438 kB / 0.6094 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.3227, allocations: 0.642 MB / 0.61 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3227, allocations: 1.281 kB / 0.61 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3228, allocations: 30.98 kB / 0.61 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3228, allocations: 1.125 kB / 0.61 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3228, allocations: 6.359 kB / 0.6101 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3228, allocations: 1.438 kB / 0.6101 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3228, allocations: 1.344 kB / 0.6101 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3232, allocations: 317.8 kB / 0.6104 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3233, allocations: 127 kB / 0.6105 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.3234, allocations: 2.562 kB / 0.6105 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3236, allocations: 18.58 kB / 0.6105 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3236, allocations: 18.27 kB / 0.6105 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3236, allocations: 8.391 kB / 0.6105 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3239, allocations: 248.2 kB / 0.6108 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3239, allocations: 0 / 0.6108 GB, free: 14.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004867/0.3244, allocations: 189.3 kB / 0.6109 GB, free: 14.15 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.0009259/0.3253, allocations: 0.9943 MB / 0.6119 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.3258, allocations: 198.3 kB / 0.6121 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3258, allocations: 1.5 kB / 0.6121 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3259, allocations: 80.2 kB / 0.6122 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.3267, allocations: 154.9 kB / 0.6123 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3297, allocations: 2.733 MB / 0.615 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.33, allocations: 0.7979 MB / 0.6158 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.3302, allocations: 76.28 kB / 0.6158 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3304, allocations: 121.5 kB / 0.616 GB, free: 10.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3304, allocations: 0 / 0.616 GB, free: 10.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.496/3.826, allocations: 9.967 MB / 0.6257 GB, free: 2.398 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/11.83, allocations: 0 / 0.6257 GB, free: 2.398 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)