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.001149/0.001149, allocations: 105.4 kB / 15.7 MB, free: 24 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.001918/0.001918, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.714/1.714, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001503/0.001503, allocations: 76.34 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01754/0.272, allocations: 15.06 MB / 0.7983 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005943/0.278, allocations: 3.83 MB / 0.8021 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.2786, allocations: 23.88 kB / 0.8021 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.2793, allocations: 182.7 kB / 0.8023 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.2812, allocations: 0.6841 MB / 0.8029 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.2827, allocations: 473.2 kB / 0.8034 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.2843, allocations: 1.076 MB / 0.8044 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.2848, allocations: 280 kB / 0.8047 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.2855, allocations: 410.4 kB / 0.8051 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.2859, allocations: 266.8 kB / 0.8053 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.2859, allocations: 20 kB / 0.8054 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.2873, allocations: 0.7173 MB / 0.8061 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2874, allocations: 75.62 kB / 0.8061 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2876, allocations: 191 kB / 0.8063 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.2887, allocations: 0.7206 MB / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2887, allocations: 0 / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2887, allocations: 0 / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.2888, allocations: 0 / 0.807 GB, free: 5.219 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.001136/0.2899, allocations: 0.7474 MB / 0.8078 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2899, allocations: 16.03 kB / 0.8078 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.29, allocations: 46.73 kB / 0.8078 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.2901, allocations: 40.47 kB / 0.8079 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2911, allocations: 0.517 MB / 0.8084 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2911, allocations: 16.33 kB / 0.8084 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2912, allocations: 24 kB / 0.8084 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2915, allocations: 176.2 kB / 0.8086 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2916, allocations: 0 / 0.8086 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2916, allocations: 8 kB / 0.8086 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2916, allocations: 4 kB / 0.8086 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.292, allocations: 140.1 kB / 0.8087 GB, free: 3.387 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.001209/0.2932, allocations: 0.8567 MB / 0.8095 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.2935, allocations: 126.5 kB / 0.8097 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2936, allocations: 80.75 kB / 0.8097 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.2939, allocations: 336.4 kB / 0.8101 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.294, allocations: 34.5 kB / 0.8101 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.294, allocations: 0 / 0.8101 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005722/0.2946, allocations: 213.1 kB / 0.8103 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2946, allocations: 51.41 kB / 0.8104 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.295, allocations: 349.7 kB / 0.8107 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.295, allocations: 29.7 kB / 0.8107 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.2952, allocations: 204.2 kB / 0.8109 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.2953, allocations: 35.38 kB / 0.8109 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.2953, allocations: 37.7 kB / 0.811 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2955, allocations: 342.8 kB / 0.8113 GB, free: 496 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2957, allocations: 52.83 kB / 0.8114 GB, free: 440 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2958, allocations: 88.23 kB / 0.8114 GB, free: 336 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2961, allocations: 113.6 kB / 0.8115 GB, free: 216 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2961, allocations: 0 / 0.8115 GB, free: 216 kB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003666/0.2965, allocations: 181.1 kB / 0.8117 GB, free: 28 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2965, allocations: 8 kB / 0.8117 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2965, allocations: 0 / 0.8117 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2965, allocations: 0 / 0.8117 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2967, allocations: 28.03 kB / 0.8118 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2967, allocations: 0 / 0.8118 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2969, allocations: 27.77 kB / 0.8118 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.297, allocations: 4 kB / 0.8118 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002261/0.2972, allocations: 156.1 kB / 0.8119 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001536/0.2974, allocations: 92.83 kB / 0.812 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002375/0.2976, allocations: 113.7 kB / 0.8121 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.2976, allocations: 0 / 0.8121 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003551/0.298, allocations: 177.2 kB / 0.8123 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.298, allocations: 11.88 kB / 0.8123 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.298, allocations: 0 / 0.8123 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.298, allocations: 4 kB / 0.8123 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2981, allocations: 23.92 kB / 0.8123 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2981, allocations: 7.984 kB / 0.8123 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2983, allocations: 24.09 kB / 0.8124 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2984, allocations: 8 kB / 0.8124 GB, free: 15.32 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.0001294/0.2985, allocations: 184.3 kB / 0.8126 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.2986, allocations: 39.47 kB / 0.8126 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.2991, allocations: 224.7 kB / 0.8128 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2991, allocations: 4 kB / 0.8128 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2991, allocations: 0 / 0.8128 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2991, allocations: 3.984 kB / 0.8128 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/0.3, allocations: 0.6334 MB / 0.8134 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3, allocations: 0 / 0.8134 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.3001, allocations: 23.98 kB / 0.8135 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3001, allocations: 4 kB / 0.8135 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3002, allocations: 4 kB / 0.8135 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3002, allocations: 8.094 kB / 0.8135 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3002, allocations: 0 / 0.8135 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.3006, allocations: 324.6 kB / 0.8138 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3008, allocations: 120.7 kB / 0.8139 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.3008, allocations: 11.98 kB / 0.8139 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.301, allocations: 7.984 kB / 0.8139 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3011, allocations: 16.08 kB / 0.8139 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3011, allocations: 15.81 kB / 0.8139 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000258/0.3014, allocations: 247.2 kB / 0.8142 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3014, allocations: 0 / 0.8142 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006487/0.302, allocations: 195.6 kB / 0.8144 GB, free: 13.16 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.001272/0.3033, allocations: 0.9926 MB / 0.8153 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.3038, allocations: 191.8 kB / 0.8155 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3038, allocations: 0 / 0.8155 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.304, allocations: 84.08 kB / 0.8156 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.3048, allocations: 149.8 kB / 0.8157 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3081, allocations: 2.727 MB / 0.8184 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3085, allocations: 0.7956 MB / 0.8192 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.3087, allocations: 74.89 kB / 0.8192 GB, free: 8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3089, allocations: 115.4 kB / 0.8194 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.3089, allocations: 0 / 0.8194 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3386, allocations: 9.978 MB / 0.8291 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.15, allocations: 11.97 kB / 0.8291 GB, free: 14.11 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)