Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_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.0007145/0.0007145, allocations: 91.84 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.004367/0.004367, allocations: 171 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005788/0.000579, allocations: 16 kB / 0.6744 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2406, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01464/0.2553, allocations: 14.49 MB / 0.8021 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.2605, allocations: 3.818 MB / 0.8059 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.2609, allocations: 19.88 kB / 0.8059 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.2614, allocations: 143.1 kB / 0.806 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2629, allocations: 0.6223 MB / 0.8066 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.264, allocations: 422.7 kB / 0.807 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.2656, allocations: 1.364 MB / 0.8084 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.2661, allocations: 244.8 kB / 0.8086 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.2667, allocations: 366.3 kB / 0.809 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.267, allocations: 258.8 kB / 0.8092 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.2671, allocations: 12 kB / 0.8092 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.2683, allocations: 0.7016 MB / 0.8099 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.2684, allocations: 63.69 kB / 0.81 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2686, allocations: 208.6 kB / 0.8102 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.2695, allocations: 0.6932 MB / 0.8108 GB, free: 4 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2695, allocations: 0 / 0.8108 GB, free: 4 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2695, allocations: 0 / 0.8108 GB, free: 4 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.2695, allocations: 0 / 0.8108 GB, free: 4 MB / 0.6231 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.001014/0.2705, allocations: 0.6853 MB / 0.8115 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2706, allocations: 8.031 kB / 0.8115 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.2706, allocations: 54.73 kB / 0.8116 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.2707, allocations: 44.38 kB / 0.8116 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.2716, allocations: 0.4936 MB / 0.8121 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2716, allocations: 12.33 kB / 0.8121 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.2716, allocations: 16 kB / 0.8121 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.272, allocations: 184.1 kB / 0.8123 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.272, allocations: 0 / 0.8123 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2721, allocations: 8 kB / 0.8123 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2721, allocations: 8 kB / 0.8123 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.2724, allocations: 152.1 kB / 0.8124 GB, free: 2.238 MB / 0.6231 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.001079/0.2735, allocations: 0.8645 MB / 0.8133 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2738, allocations: 130.6 kB / 0.8134 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.274, allocations: 72.81 kB / 0.8135 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.2743, allocations: 336.4 kB / 0.8138 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2743, allocations: 46.5 kB / 0.8139 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.2743, allocations: 0 / 0.8139 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005786/0.2749, allocations: 233.1 kB / 0.8141 GB, free: 380 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.275, allocations: 55.41 kB / 0.8141 GB, free: 312 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.2753, allocations: 341.7 kB / 0.8145 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2754, allocations: 29.7 kB / 0.8145 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2755, allocations: 196.3 kB / 0.8147 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.2755, allocations: 43.36 kB / 0.8147 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.2756, allocations: 13.72 kB / 0.8147 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2757, allocations: 342.8 kB / 0.815 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2759, allocations: 55.95 kB / 0.8151 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.276, allocations: 88.69 kB / 0.8152 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2763, allocations: 137.5 kB / 0.8153 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2763, allocations: 0 / 0.8153 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003698/0.2767, allocations: 189.1 kB / 0.8155 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.2768, allocations: 101.9 kB / 0.8156 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2768, allocations: 0 / 0.8156 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2768, allocations: 0 / 0.8156 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.277, allocations: 31.92 kB / 0.8156 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.277, allocations: 0 / 0.8156 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.2772, allocations: 40.03 kB / 0.8157 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2772, allocations: 7.984 kB / 0.8157 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.2773, allocations: 4 kB / 0.8157 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000303/0.2776, allocations: 127.9 kB / 0.8158 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2776, allocations: 3.984 kB / 0.8158 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.2776, allocations: 3.938 kB / 0.8158 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2777, allocations: 23.98 kB / 0.8158 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.2777, allocations: 4 kB / 0.8158 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2779, allocations: 27.97 kB / 0.8159 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2779, allocations: 8 kB / 0.8159 GB, free: 14.45 MB / 0.6387 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 0.0001587/0.2781, allocations: 221 kB / 0.8161 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.2782, allocations: 35.53 kB / 0.8161 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.2787, allocations: 244.5 kB / 0.8163 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2787, allocations: 0 / 0.8163 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2787, allocations: 192 / 0.8163 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2787, allocations: 4 kB / 0.8163 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008603/0.2796, allocations: 0.6488 MB / 0.817 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2796, allocations: 0 / 0.817 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2797, allocations: 27.98 kB / 0.817 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.2797, allocations: 4.078 kB / 0.817 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2797, allocations: 16 kB / 0.817 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2798, allocations: 0 / 0.817 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2798, allocations: 4 kB / 0.817 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.2802, allocations: 325.5 kB / 0.8173 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2803, allocations: 128.6 kB / 0.8175 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.2804, allocations: 7.984 kB / 0.8175 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2806, allocations: 23.89 kB / 0.8175 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2807, allocations: 19.92 kB / 0.8175 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2807, allocations: 7.984 kB / 0.8175 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002345/0.2809, allocations: 243.2 kB / 0.8178 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2809, allocations: 0 / 0.8178 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005827/0.2815, allocations: 187.7 kB / 0.8179 GB, free: 12.2 MB / 0.6387 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.001082/0.2826, allocations: 1.019 MB / 0.8189 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.2831, allocations: 199.8 kB / 0.8191 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2831, allocations: 0 / 0.8191 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.2833, allocations: 83.89 kB / 0.8192 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.2842, allocations: 156.8 kB / 0.8193 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.2877, allocations: 2.883 MB / 0.8222 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2881, allocations: 0.7998 MB / 0.8229 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.2884, allocations: 75.03 kB / 0.823 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.2885, allocations: 107.4 kB / 0.8231 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.2885, allocations: 4 kB / 0.8231 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3107, allocations: 9.469 MB / 0.8324 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.311, allocations: 254.1 kB / 0.8326 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.395, allocations: 0 / 0.8326 GB, free: 13.25 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)