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.001154/0.001154, allocations: 105 kB / 16.36 MB, free: 6.426 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.001048/0.001048, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.516/1.516, 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.844/1.844, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001459/0.001459, allocations: 74.66 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4609/0.7037, allocations: 15.03 MB / 0.7995 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00734/0.7111, allocations: 3.833 MB / 0.8032 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.7119, allocations: 20.69 kB / 0.8032 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008274/0.7128, allocations: 179.2 kB / 0.8034 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.7153, allocations: 0.678 MB / 0.8041 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.7172, allocations: 484.2 kB / 0.8045 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.7192, allocations: 1.091 MB / 0.8056 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.7198, allocations: 275.4 kB / 0.8058 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009718/0.7208, allocations: 402.9 kB / 0.8062 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.7213, allocations: 257.6 kB / 0.8065 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.7214, allocations: 28.53 kB / 0.8065 GB, free: 37.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.7236, allocations: 0.7108 MB / 0.8072 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.7238, allocations: 77.59 kB / 0.8073 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.7241, allocations: 190.2 kB / 0.8075 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.7259, allocations: 0.7236 MB / 0.8082 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.726, allocations: 2.062 kB / 0.8082 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.983e-06/0.726, allocations: 0 / 0.8082 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.726, allocations: 0 / 0.8082 GB, free: 36.89 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.001665/0.7277, allocations: 0.7455 MB / 0.8089 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.7277, allocations: 9.312 kB / 0.8089 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.7279, allocations: 41.78 kB / 0.8089 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.7294, allocations: 0.4978 MB / 0.8094 GB, free: 35.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.7295, allocations: 16.91 kB / 0.8094 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.7295, allocations: 18.08 kB / 0.8095 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.7302, allocations: 176 kB / 0.8096 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7302, allocations: 1.156 kB / 0.8096 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.7303, allocations: 5.938 kB / 0.8096 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.7303, allocations: 4.188 kB / 0.8096 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.7309, allocations: 146.2 kB / 0.8098 GB, free: 35.77 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.001766/0.7327, allocations: 0.8513 MB / 0.8106 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.7332, allocations: 127.2 kB / 0.8107 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.7335, allocations: 74.34 kB / 0.8108 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.7339, allocations: 335 kB / 0.8111 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.734, allocations: 36.45 kB / 0.8112 GB, free: 34.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 2.555e-06/0.734, allocations: 0.8438 kB / 0.8112 GB, free: 34.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0009869/0.735, allocations: 221.4 kB / 0.8114 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.7351, allocations: 55.19 kB / 0.8114 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.7357, allocations: 344.4 kB / 0.8117 GB, free: 34.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7357, allocations: 32.17 kB / 0.8118 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.7359, allocations: 192.5 kB / 0.812 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.736, allocations: 46.75 kB / 0.812 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.7361, allocations: 37.42 kB / 0.812 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7362, allocations: 349.2 kB / 0.8124 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.7365, allocations: 46.88 kB / 0.8124 GB, free: 33.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.7368, allocations: 91.5 kB / 0.8125 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.7373, allocations: 122.8 kB / 0.8126 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.7373, allocations: 0 / 0.8126 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006825/0.738, allocations: 176 kB / 0.8128 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.7381, allocations: 9.938 kB / 0.8128 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7381, allocations: 0 / 0.8128 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7381, allocations: 1.156 kB / 0.8128 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.7384, allocations: 28.86 kB / 0.8128 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7384, allocations: 1.828 kB / 0.8128 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.7388, allocations: 24.34 kB / 0.8129 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.7389, allocations: 5.312 kB / 0.8129 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003588/0.7392, allocations: 155.2 kB / 0.813 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002939/0.7396, allocations: 87.28 kB / 0.8131 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004784/0.7401, allocations: 114.9 kB / 0.8132 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.7401, allocations: 0 / 0.8132 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0006693/0.7408, allocations: 174.2 kB / 0.8134 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7408, allocations: 6.203 kB / 0.8134 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7408, allocations: 4.906 kB / 0.8134 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.7408, allocations: 5.312 kB / 0.8134 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.741, allocations: 27.98 kB / 0.8134 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.7411, allocations: 0.875 kB / 0.8134 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.7414, allocations: 18.22 kB / 0.8134 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.7415, allocations: 4.922 kB / 0.8134 GB, free: 33.16 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 0.0001171/0.7416, allocations: 191.8 kB / 0.8136 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.7417, allocations: 41.2 kB / 0.8137 GB, free: 32.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.7426, allocations: 226.6 kB / 0.8139 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.7426, allocations: 7.938 kB / 0.8139 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7426, allocations: 0.7031 kB / 0.8139 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7426, allocations: 0.6562 kB / 0.8139 GB, free: 32.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.7441, allocations: 0.6356 MB / 0.8145 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7441, allocations: 0 / 0.8145 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.7443, allocations: 24.33 kB / 0.8145 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7443, allocations: 2 kB / 0.8145 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.7444, allocations: 7.266 kB / 0.8145 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.7444, allocations: 2.75 kB / 0.8145 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7444, allocations: 3.469 kB / 0.8145 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.7452, allocations: 321.9 kB / 0.8148 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.7454, allocations: 122.5 kB / 0.815 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.7454, allocations: 7.016 kB / 0.815 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.7458, allocations: 12.58 kB / 0.815 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.7459, allocations: 17.3 kB / 0.815 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.746, allocations: 9.859 kB / 0.815 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004481/0.7464, allocations: 250.7 kB / 0.8152 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7464, allocations: 0 / 0.8152 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001218/0.7477, allocations: 188.7 kB / 0.8154 GB, free: 31.86 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.0008261/0.7485, allocations: 260.7 kB / 0.8157 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.7495, allocations: 186.6 kB / 0.8159 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7495, allocations: 0 / 0.8159 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.7498, allocations: 76.06 kB / 0.8159 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7513, allocations: 158.5 kB / 0.8161 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.7526, allocations: 0.5438 MB / 0.8166 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.753, allocations: 0.804 MB / 0.8174 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003787/0.7534, allocations: 74.38 kB / 0.8175 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.7535, allocations: 33.34 kB / 0.8175 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.7535, allocations: 0.9375 kB / 0.8175 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.02614/0.7797, allocations: 6.57 MB / 0.8239 GB, free: 30.11 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)