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.001303/0.001303, allocations: 109.4 kB / 15.69 MB, free: 128 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.001239/0.001239, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.693/1.693, 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.00154/0.00154, allocations: 71.86 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2301, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01588/0.246, allocations: 15.05 MB / 0.7983 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005583/0.2517, allocations: 3.841 MB / 0.8021 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.2522, allocations: 19.94 kB / 0.8021 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.2529, allocations: 182.7 kB / 0.8023 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.2547, allocations: 0.688 MB / 0.8029 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2561, allocations: 469.1 kB / 0.8034 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.258, allocations: 1.076 MB / 0.8044 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005264/0.2586, allocations: 289.4 kB / 0.8047 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.2593, allocations: 406.4 kB / 0.8051 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.2598, allocations: 266.8 kB / 0.8053 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.2599, allocations: 20 kB / 0.8054 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.2614, allocations: 0.7134 MB / 0.8061 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2616, allocations: 75.69 kB / 0.8061 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.2618, allocations: 191 kB / 0.8063 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2631, allocations: 0.7244 MB / 0.807 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2631, allocations: 3.938 kB / 0.807 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2631, allocations: 0 / 0.807 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.2632, allocations: 0 / 0.807 GB, free: 5.191 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.00132/0.2645, allocations: 0.7435 MB / 0.8077 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2645, allocations: 12.03 kB / 0.8078 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.2646, allocations: 54.73 kB / 0.8078 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.2647, allocations: 40.47 kB / 0.8079 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2658, allocations: 0.5131 MB / 0.8084 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2658, allocations: 12.33 kB / 0.8084 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.2658, allocations: 24 kB / 0.8084 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2662, allocations: 176.2 kB / 0.8086 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2662, allocations: 0 / 0.8086 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2663, allocations: 8 kB / 0.8086 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2663, allocations: 4 kB / 0.8086 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.2666, allocations: 136.2 kB / 0.8087 GB, free: 3.371 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.001244/0.2679, allocations: 0.8605 MB / 0.8095 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.2682, allocations: 118.6 kB / 0.8096 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2684, allocations: 76.81 kB / 0.8097 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.2687, allocations: 340.4 kB / 0.81 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2687, allocations: 38.44 kB / 0.8101 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.2687, allocations: 0 / 0.8101 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0008705/0.2696, allocations: 221 kB / 0.8103 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2696, allocations: 51.41 kB / 0.8103 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.27, allocations: 349.7 kB / 0.8107 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.27, allocations: 29.7 kB / 0.8107 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2702, allocations: 196.3 kB / 0.8109 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.2702, allocations: 39.36 kB / 0.8109 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.2703, allocations: 33.72 kB / 0.811 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2704, allocations: 338.8 kB / 0.8113 GB, free: 484 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2706, allocations: 56.83 kB / 0.8113 GB, free: 424 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.2708, allocations: 96.11 kB / 0.8114 GB, free: 312 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2711, allocations: 109.7 kB / 0.8115 GB, free: 196 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2711, allocations: 3.938 kB / 0.8115 GB, free: 192 kB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003621/0.2715, allocations: 181.1 kB / 0.8117 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.2715, allocations: 8.047 kB / 0.8117 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2715, allocations: 3.938 kB / 0.8117 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2716, allocations: 0 / 0.8117 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2717, allocations: 27.92 kB / 0.8118 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2717, allocations: 0 / 0.8118 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2719, allocations: 27.88 kB / 0.8118 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.272, allocations: 7.984 kB / 0.8118 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002113/0.2722, allocations: 160.1 kB / 0.8119 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/0.2724, allocations: 84.25 kB / 0.812 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002335/0.2726, allocations: 109.6 kB / 0.8121 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2726, allocations: 0 / 0.8121 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000503/0.2731, allocations: 177.2 kB / 0.8123 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.2731, allocations: 7.938 kB / 0.8123 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.2731, allocations: 0 / 0.8123 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.2732, allocations: 4 kB / 0.8123 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2733, allocations: 23.97 kB / 0.8123 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2733, allocations: 7.938 kB / 0.8123 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.2735, allocations: 11.98 kB / 0.8123 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2735, allocations: 12.19 kB / 0.8124 GB, free: 15.31 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.000107/0.2736, allocations: 184.3 kB / 0.8125 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.2737, allocations: 43.41 kB / 0.8126 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.2742, allocations: 224.3 kB / 0.8128 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.2742, allocations: 4 kB / 0.8128 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2742, allocations: 3.984 kB / 0.8128 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2742, allocations: 7.875 kB / 0.8128 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.2751, allocations: 0.6295 MB / 0.8134 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2751, allocations: 0 / 0.8134 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2752, allocations: 28.05 kB / 0.8134 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2752, allocations: 4 kB / 0.8134 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2752, allocations: 4 kB / 0.8135 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2753, allocations: 8.094 kB / 0.8135 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2753, allocations: 0 / 0.8135 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.2757, allocations: 325.4 kB / 0.8138 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2758, allocations: 124.7 kB / 0.8139 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.2758, allocations: 8 kB / 0.8139 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2761, allocations: 7.984 kB / 0.8139 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2761, allocations: 15.98 kB / 0.8139 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2761, allocations: 7.938 kB / 0.8139 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000237/0.2764, allocations: 247.2 kB / 0.8142 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 0.8142 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005841/0.277, allocations: 195.6 kB / 0.8143 GB, free: 13.14 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.001174/0.2782, allocations: 0.9942 MB / 0.8153 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.2787, allocations: 191.8 kB / 0.8155 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2787, allocations: 0 / 0.8155 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2789, allocations: 84.45 kB / 0.8156 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.2797, allocations: 155 kB / 0.8157 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.283, allocations: 2.716 MB / 0.8184 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2833, allocations: 0.7995 MB / 0.8192 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.2836, allocations: 78.83 kB / 0.8192 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.2837, allocations: 115.4 kB / 0.8193 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of SimCode: time 2.205e-06/0.2837, allocations: 0 / 0.8193 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3128, allocations: 9.99 MB / 0.8291 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.319, allocations: 4 kB / 0.8291 GB, free: 14.09 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)