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: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007576/0.0007576, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008301/0.0008302, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.728/1.728, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005134/0.0005134, allocations: 14.28 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01472/0.2482, allocations: 13.78 MB / 0.8007 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005798/0.254, allocations: 3.564 MB / 0.8042 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005429/0.2546, allocations: 19.88 kB / 0.8042 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.2552, allocations: 135.1 kB / 0.8044 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.2569, allocations: 0.556 MB / 0.8049 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.2581, allocations: 409.5 kB / 0.8053 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2596, allocations: 1.196 MB / 0.8065 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.26, allocations: 220.6 kB / 0.8067 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005727/0.2606, allocations: 346.5 kB / 0.807 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2609, allocations: 250.9 kB / 0.8072 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2609, allocations: 12 kB / 0.8072 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2621, allocations: 0.6315 MB / 0.8079 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.2622, allocations: 63.69 kB / 0.8079 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.2623, allocations: 97.45 kB / 0.808 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.2629, allocations: 487 kB / 0.8085 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2629, allocations: 0 / 0.8085 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2629, allocations: 0 / 0.8085 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2629, allocations: 0 / 0.8085 GB, free: 6.164 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.0009943/0.2639, allocations: 0.6929 MB / 0.8092 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.264, allocations: 8.031 kB / 0.8092 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.264, allocations: 47.44 kB / 0.8092 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/0.2649, allocations: 489 kB / 0.8097 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2649, allocations: 12.33 kB / 0.8097 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.2649, allocations: 16 kB / 0.8097 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2653, allocations: 180.2 kB / 0.8099 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2653, allocations: 0 / 0.8099 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2654, allocations: 12 kB / 0.8099 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2654, allocations: 7.938 kB / 0.8099 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2657, allocations: 148.2 kB / 0.81 GB, free: 4.473 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.001083/0.2668, allocations: 0.8684 MB / 0.8109 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.267, allocations: 122.6 kB / 0.811 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2672, allocations: 76.81 kB / 0.8111 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.2675, allocations: 340.4 kB / 0.8114 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.2676, allocations: 34.56 kB / 0.8114 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.2676, allocations: 0 / 0.8114 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005589/0.2681, allocations: 229.4 kB / 0.8117 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2682, allocations: 63.34 kB / 0.8117 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.2685, allocations: 341.7 kB / 0.812 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2686, allocations: 25.7 kB / 0.8121 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2687, allocations: 196.3 kB / 0.8123 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.2687, allocations: 43.39 kB / 0.8123 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.2687, allocations: 0 / 0.8123 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2689, allocations: 350.8 kB / 0.8126 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.269, allocations: 43.97 kB / 0.8127 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2692, allocations: 100.2 kB / 0.8128 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2693, allocations: 63.91 kB / 0.8128 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2693, allocations: 0 / 0.8128 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00033/0.2697, allocations: 185.1 kB / 0.813 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.2697, allocations: 105.8 kB / 0.8131 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2697, allocations: 0 / 0.8131 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2698, allocations: 0 / 0.8131 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2699, allocations: 31.97 kB / 0.8131 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2699, allocations: 0 / 0.8131 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2701, allocations: 35.81 kB / 0.8132 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2702, allocations: 8 kB / 0.8132 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-06/0.2702, allocations: 4 kB / 0.8132 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002609/0.2704, allocations: 119.9 kB / 0.8133 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.2705, allocations: 4 kB / 0.8133 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.2705, allocations: 0 / 0.8133 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2706, allocations: 31.92 kB / 0.8133 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.2706, allocations: 4 kB / 0.8133 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2707, allocations: 27.88 kB / 0.8134 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2708, allocations: 8 kB / 0.8134 GB, free: 0.7891 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.2709, allocations: 225.7 kB / 0.8136 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.271, allocations: 31.62 kB / 0.8136 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.2715, allocations: 237 kB / 0.8138 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.2715, allocations: 7.984 kB / 0.8138 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2715, allocations: 3.938 kB / 0.8138 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2715, allocations: 0 / 0.8138 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.2723, allocations: 0.649 MB / 0.8145 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2723, allocations: 0 / 0.8145 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.2724, allocations: 23.98 kB / 0.8145 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2724, allocations: 7.938 kB / 0.8145 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2725, allocations: 96 / 0.8145 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2725, allocations: 8 kB / 0.8145 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2725, allocations: 3.953 kB / 0.8145 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.2729, allocations: 324.2 kB / 0.8148 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.273, allocations: 128.6 kB / 0.815 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.273, allocations: 8 kB / 0.815 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2733, allocations: 31.91 kB / 0.815 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2733, allocations: 15.94 kB / 0.815 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2733, allocations: 8.062 kB / 0.815 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002276/0.2736, allocations: 243.2 kB / 0.8152 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2736, allocations: 0 / 0.8152 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005778/0.2741, allocations: 187.7 kB / 0.8154 GB, free: 14.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005158/0.2747, allocations: 248.8 kB / 0.8157 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.2751, allocations: 199.8 kB / 0.8159 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2752, allocations: 0 / 0.8159 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2753, allocations: 79.89 kB / 0.8159 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.2761, allocations: 150 kB / 0.8161 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.277, allocations: 0.6832 MB / 0.8167 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2774, allocations: 0.7921 MB / 0.8175 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.2776, allocations: 71.08 kB / 0.8176 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.2777, allocations: 35.44 kB / 0.8176 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2777, allocations: 4 kB / 0.8176 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.01086/0.2886, allocations: 6.092 MB / 0.8236 GB, free: 6.25 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: