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.001158/0.001158, allocations: 104 kB / 16.36 MB, free: 6.305 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.001126/0.001126, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001348/0.001348, allocations: 71.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.251, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4427/0.6938, allocations: 15.05 MB / 0.7995 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.6991, allocations: 3.828 MB / 0.8032 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.6999, allocations: 21.59 kB / 0.8032 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.7006, allocations: 189.4 kB / 0.8034 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.7025, allocations: 0.6692 MB / 0.8041 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.7039, allocations: 488.2 kB / 0.8045 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.7056, allocations: 1.078 MB / 0.8056 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.706, allocations: 291.6 kB / 0.8059 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.7067, allocations: 400 kB / 0.8062 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.7071, allocations: 259.6 kB / 0.8065 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.7072, allocations: 21.97 kB / 0.8065 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.7086, allocations: 0.7168 MB / 0.8072 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.7088, allocations: 79.34 kB / 0.8073 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.709, allocations: 183.8 kB / 0.8075 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.7103, allocations: 0.7303 MB / 0.8082 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7103, allocations: 0 / 0.8082 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7103, allocations: 0 / 0.8082 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.7103, allocations: 0.5625 kB / 0.8082 GB, free: 37.21 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.001182/0.7115, allocations: 0.7479 MB / 0.8089 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7115, allocations: 9.797 kB / 0.8089 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.7117, allocations: 42.66 kB / 0.809 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7128, allocations: 0.5058 MB / 0.8094 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7128, allocations: 16.73 kB / 0.8095 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.7128, allocations: 16.62 kB / 0.8095 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.7133, allocations: 183.9 kB / 0.8097 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7133, allocations: 1.188 kB / 0.8097 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.7133, allocations: 5.344 kB / 0.8097 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.7133, allocations: 4.812 kB / 0.8097 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.7137, allocations: 139.2 kB / 0.8098 GB, free: 36.1 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.00123/0.715, allocations: 0.8573 MB / 0.8106 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.7153, allocations: 124.9 kB / 0.8108 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.7155, allocations: 74.61 kB / 0.8108 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.7157, allocations: 335.4 kB / 0.8111 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7158, allocations: 36.14 kB / 0.8112 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.7158, allocations: 0 / 0.8112 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006516/0.7164, allocations: 223.5 kB / 0.8114 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7165, allocations: 57.19 kB / 0.8114 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.7169, allocations: 345.4 kB / 0.8118 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.7169, allocations: 30.33 kB / 0.8118 GB, free: 34.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.717, allocations: 192.7 kB / 0.812 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.7171, allocations: 43.53 kB / 0.812 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.7172, allocations: 34.36 kB / 0.8121 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.7173, allocations: 344.5 kB / 0.8124 GB, free: 34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.7174, allocations: 51.59 kB / 0.8124 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.7176, allocations: 92.55 kB / 0.8125 GB, free: 33.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.7179, allocations: 117.2 kB / 0.8126 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7179, allocations: 0 / 0.8126 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003839/0.7183, allocations: 181.2 kB / 0.8128 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7183, allocations: 8.562 kB / 0.8128 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7183, allocations: 3.531 kB / 0.8128 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7184, allocations: 1.062 kB / 0.8128 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.7185, allocations: 24.38 kB / 0.8129 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7185, allocations: 1.094 kB / 0.8129 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.7188, allocations: 22.31 kB / 0.8129 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.7188, allocations: 9.703 kB / 0.8129 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002234/0.719, allocations: 158.5 kB / 0.813 GB, free: 33.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/0.7192, allocations: 86.22 kB / 0.8131 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002634/0.7195, allocations: 107.8 kB / 0.8132 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.7195, allocations: 4 kB / 0.8132 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003641/0.7199, allocations: 177.3 kB / 0.8134 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.7199, allocations: 5.281 kB / 0.8134 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7199, allocations: 5.812 kB / 0.8134 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.7199, allocations: 1.156 kB / 0.8134 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.72, allocations: 24.06 kB / 0.8134 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.72, allocations: 0 / 0.8134 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.7202, allocations: 22.44 kB / 0.8134 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.7202, allocations: 4.453 kB / 0.8135 GB, free: 33.48 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.441e-05/0.7203, allocations: 188.8 kB / 0.8136 GB, free: 33.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.7204, allocations: 46.5 kB / 0.8137 GB, free: 33.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.7209, allocations: 224.8 kB / 0.8139 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7209, allocations: 2.266 kB / 0.8139 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.721, allocations: 3.438 kB / 0.8139 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.721, allocations: 8.734 kB / 0.8139 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.7219, allocations: 0.6353 MB / 0.8145 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7219, allocations: 0.8125 kB / 0.8145 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.722, allocations: 24.33 kB / 0.8145 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.722, allocations: 1.688 kB / 0.8146 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.7221, allocations: 11.39 kB / 0.8146 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7221, allocations: 2.281 kB / 0.8146 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7221, allocations: 4.688 kB / 0.8146 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.7225, allocations: 316.4 kB / 0.8149 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.7226, allocations: 123.1 kB / 0.815 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.7227, allocations: 7.484 kB / 0.815 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.7229, allocations: 11.69 kB / 0.815 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.7229, allocations: 13.48 kB / 0.815 GB, free: 32.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.723, allocations: 5.953 kB / 0.815 GB, free: 32.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002847/0.7233, allocations: 251.1 kB / 0.8153 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7233, allocations: 1.875 kB / 0.8153 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007549/0.724, allocations: 193.8 kB / 0.8154 GB, free: 32.17 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.0005714/0.7246, allocations: 252.7 kB / 0.8157 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.7252, allocations: 193.8 kB / 0.8159 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7252, allocations: 1.969 kB / 0.8159 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.7254, allocations: 76.58 kB / 0.816 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.7263, allocations: 150.1 kB / 0.8161 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.7273, allocations: 0.5737 MB / 0.8167 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.7277, allocations: 0.8037 MB / 0.8174 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.7278, allocations: 33.02 kB / 0.8175 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7278, allocations: 4.969 kB / 0.8175 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.01321/0.741, allocations: 5.763 MB / 0.8231 GB, free: 30.36 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)