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.001248/0.001248, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.00147/0.00147, allocations: 194.2 kB / 17.2 MB, free: 5.594 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.787/1.787, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001621/0.001621, allocations: 63.91 kB / 0.6721 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2488, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4188/0.6677, allocations: 15.04 MB / 0.7987 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004984/0.6727, allocations: 3.828 MB / 0.8024 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007336/0.6735, allocations: 22.88 kB / 0.8025 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.6742, allocations: 193 kB / 0.8027 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.6762, allocations: 0.6693 MB / 0.8033 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.6776, allocations: 478.8 kB / 0.8038 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.6792, allocations: 1.074 MB / 0.8048 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.6798, allocations: 281.5 kB / 0.8051 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6808, allocations: 406.1 kB / 0.8055 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.6814, allocations: 259.8 kB / 0.8057 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.6814, allocations: 21.78 kB / 0.8057 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.6831, allocations: 0.7156 MB / 0.8064 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.6833, allocations: 71.28 kB / 0.8065 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.6836, allocations: 189 kB / 0.8067 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.6854, allocations: 0.7174 MB / 0.8074 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6854, allocations: 0 / 0.8074 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6854, allocations: 4.812 kB / 0.8074 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.6854, allocations: 0 / 0.8074 GB, free: 37.3 MB / 0.6544 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.001269/0.6867, allocations: 0.7445 MB / 0.8081 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6867, allocations: 9.656 kB / 0.8081 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.6868, allocations: 42.33 kB / 0.8082 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.6878, allocations: 0.4987 MB / 0.8086 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6878, allocations: 16.23 kB / 0.8087 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.6878, allocations: 16.5 kB / 0.8087 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.6882, allocations: 178.9 kB / 0.8089 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6883, allocations: 0.6094 kB / 0.8089 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6883, allocations: 9.031 kB / 0.8089 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6883, allocations: 4.562 kB / 0.8089 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.6887, allocations: 144.1 kB / 0.809 GB, free: 36.19 MB / 0.6544 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.001155/0.6899, allocations: 0.857 MB / 0.8098 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.6901, allocations: 124.8 kB / 0.81 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.6903, allocations: 70.27 kB / 0.81 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.6906, allocations: 335.4 kB / 0.8103 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.6907, allocations: 40.28 kB / 0.8104 GB, free: 35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.6907, allocations: 0 / 0.8104 GB, free: 35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005987/0.6913, allocations: 219.3 kB / 0.8106 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.6913, allocations: 57.25 kB / 0.8106 GB, free: 34.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.6917, allocations: 349.4 kB / 0.811 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.6917, allocations: 26.95 kB / 0.811 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.6918, allocations: 192 kB / 0.8112 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.6919, allocations: 47.56 kB / 0.8112 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.692, allocations: 33.97 kB / 0.8113 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.692, allocations: 350 kB / 0.8116 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.6922, allocations: 50.59 kB / 0.8116 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.6924, allocations: 91.73 kB / 0.8117 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.6927, allocations: 128.2 kB / 0.8119 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6927, allocations: 0 / 0.8119 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003847/0.6931, allocations: 170.5 kB / 0.812 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6931, allocations: 9.062 kB / 0.812 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6931, allocations: 2.359 kB / 0.812 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6931, allocations: 1.656 kB / 0.812 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6933, allocations: 28.02 kB / 0.8121 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6933, allocations: 6.359 kB / 0.8121 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.6936, allocations: 17.3 kB / 0.8121 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.6936, allocations: 7.281 kB / 0.8121 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002228/0.6938, allocations: 155.4 kB / 0.8122 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001648/0.694, allocations: 90.52 kB / 0.8123 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002685/0.6943, allocations: 117.6 kB / 0.8124 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.6943, allocations: 2.578 kB / 0.8124 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003683/0.6947, allocations: 169.3 kB / 0.8126 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6947, allocations: 6.234 kB / 0.8126 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.6947, allocations: 7.875 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.6947, allocations: 1.094 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6948, allocations: 27.94 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.6948, allocations: 2 kB / 0.8126 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.695, allocations: 17.64 kB / 0.8127 GB, free: 33.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.695, allocations: 5.125 kB / 0.8127 GB, free: 33.56 MB / 0.6544 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 7.393e-05/0.6951, allocations: 192.6 kB / 0.8128 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.6952, allocations: 40.22 kB / 0.8129 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.6957, allocations: 225.5 kB / 0.8131 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6957, allocations: 2.484 kB / 0.8131 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6957, allocations: 0.5625 kB / 0.8131 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6957, allocations: 5.641 kB / 0.8131 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.6966, allocations: 0.6324 MB / 0.8137 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6967, allocations: 2.969 kB / 0.8137 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.6968, allocations: 25.42 kB / 0.8138 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6968, allocations: 1.594 kB / 0.8138 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6968, allocations: 7.031 kB / 0.8138 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6968, allocations: 2.031 kB / 0.8138 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6968, allocations: 1.25 kB / 0.8138 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.6972, allocations: 325.7 kB / 0.8141 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.6974, allocations: 126.7 kB / 0.8142 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.6974, allocations: 2.484 kB / 0.8142 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.6976, allocations: 18.12 kB / 0.8142 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.6977, allocations: 13.12 kB / 0.8142 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.6977, allocations: 6.688 kB / 0.8142 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002693/0.698, allocations: 249.6 kB / 0.8145 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.698, allocations: 0 / 0.8145 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007301/0.6987, allocations: 192.6 kB / 0.8147 GB, free: 32.26 MB / 0.6544 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.0005669/0.6993, allocations: 262.4 kB / 0.8149 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.6999, allocations: 195.7 kB / 0.8151 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6999, allocations: 1.062 kB / 0.8151 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.7001, allocations: 76.73 kB / 0.8152 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/0.701, allocations: 154.1 kB / 0.8153 GB, free: 32.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.7019, allocations: 0.5795 MB / 0.8159 GB, free: 31.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.7022, allocations: 0.7919 MB / 0.8167 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.7022, allocations: 34.55 kB / 0.8167 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.7022, allocations: 0 / 0.8167 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.01132/0.7136, allocations: 5.761 MB / 0.8223 GB, free: 30.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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)