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.001521/0.001521, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001653/0.001654, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.506/1.506, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.952/1.952, allocations: 292.3 MB / 0.5495 GB, free: 17.4 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.001533/0.001534, allocations: 71.89 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2785, allocations: 114.5 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.5008/0.7793, allocations: 15.05 MB / 0.7988 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005308/0.7847, allocations: 3.826 MB / 0.8025 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008278/0.7856, allocations: 24 kB / 0.8025 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.7864, allocations: 187.5 kB / 0.8027 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.7884, allocations: 0.6728 MB / 0.8034 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.7899, allocations: 484.6 kB / 0.8038 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.7914, allocations: 1.075 MB / 0.8049 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.7919, allocations: 282 kB / 0.8051 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/0.7927, allocations: 409.1 kB / 0.8055 GB, free: 38.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.7932, allocations: 262.1 kB / 0.8058 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.7932, allocations: 19.59 kB / 0.8058 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.7951, allocations: 0.7167 MB / 0.8065 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.7952, allocations: 77.16 kB / 0.8066 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.7955, allocations: 187.4 kB / 0.8067 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.7969, allocations: 0.7232 MB / 0.8075 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7969, allocations: 4 kB / 0.8075 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7969, allocations: 1 kB / 0.8075 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.7969, allocations: 0 / 0.8075 GB, free: 37.52 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.001247/0.7982, allocations: 0.7451 MB / 0.8082 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7983, allocations: 9.562 kB / 0.8082 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.7984, allocations: 41.5 kB / 0.8082 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.7992, allocations: 0.4945 MB / 0.8087 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.7992, allocations: 16.08 kB / 0.8087 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.7993, allocations: 17.03 kB / 0.8087 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.7997, allocations: 181.9 kB / 0.8089 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7997, allocations: 0.9375 kB / 0.8089 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.7997, allocations: 5.844 kB / 0.8089 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.7998, allocations: 8.906 kB / 0.8089 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.8001, allocations: 137 kB / 0.8091 GB, free: 36.4 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.001123/0.8012, allocations: 0.8564 MB / 0.8099 GB, free: 35.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.8015, allocations: 120.2 kB / 0.81 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.8017, allocations: 74.69 kB / 0.8101 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.802, allocations: 343.7 kB / 0.8104 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.8021, allocations: 40.62 kB / 0.8105 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.8021, allocations: 0 / 0.8105 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005966/0.8027, allocations: 210.9 kB / 0.8107 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.8027, allocations: 56.34 kB / 0.8107 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.8031, allocations: 352.9 kB / 0.811 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8031, allocations: 27.64 kB / 0.8111 GB, free: 34.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.8033, allocations: 192.1 kB / 0.8113 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.8033, allocations: 47.45 kB / 0.8113 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.8034, allocations: 33.84 kB / 0.8113 GB, free: 34.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.8035, allocations: 344.6 kB / 0.8117 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.8036, allocations: 51.75 kB / 0.8117 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.8038, allocations: 92.39 kB / 0.8118 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.8041, allocations: 123.5 kB / 0.8119 GB, free: 34.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.8041, allocations: 0 / 0.8119 GB, free: 34.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003745/0.8045, allocations: 174.2 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8045, allocations: 9.75 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8045, allocations: 0.6094 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.8045, allocations: 4.922 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.8047, allocations: 28.31 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8047, allocations: 1.578 kB / 0.8121 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.8049, allocations: 19.45 kB / 0.8121 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.8049, allocations: 5.891 kB / 0.8122 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002092/0.8052, allocations: 158.7 kB / 0.8123 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001569/0.8053, allocations: 89.75 kB / 0.8124 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002611/0.8056, allocations: 109.7 kB / 0.8125 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.8056, allocations: 1.438 kB / 0.8125 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003481/0.806, allocations: 171.9 kB / 0.8127 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.806, allocations: 11.81 kB / 0.8127 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.806, allocations: 9.281 kB / 0.8127 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/0.806, allocations: 0.5312 kB / 0.8127 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8061, allocations: 24.14 kB / 0.8127 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.8061, allocations: 1.891 kB / 0.8127 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.8063, allocations: 17.89 kB / 0.8127 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.8063, allocations: 7.844 kB / 0.8127 GB, free: 33.77 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.743e-05/0.8064, allocations: 189.3 kB / 0.8129 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.8065, allocations: 39.56 kB / 0.8129 GB, free: 33.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.807, allocations: 228.1 kB / 0.8132 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.807, allocations: 2.719 kB / 0.8132 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.807, allocations: 1.281 kB / 0.8132 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.807, allocations: 3.234 kB / 0.8132 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.8079, allocations: 0.6378 MB / 0.8138 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8079, allocations: 1.188 kB / 0.8138 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.808, allocations: 26.16 kB / 0.8138 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.8081, allocations: 2.906 kB / 0.8138 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.8081, allocations: 7.25 kB / 0.8138 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8081, allocations: 5.438 kB / 0.8138 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8081, allocations: 1.375 kB / 0.8138 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.8085, allocations: 317.6 kB / 0.8141 GB, free: 32.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.8086, allocations: 131 kB / 0.8143 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.8087, allocations: 2.281 kB / 0.8143 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.8089, allocations: 18.41 kB / 0.8143 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.8089, allocations: 9.172 kB / 0.8143 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.8089, allocations: 5.781 kB / 0.8143 GB, free: 32.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000273/0.8092, allocations: 254.4 kB / 0.8145 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8092, allocations: 0 / 0.8145 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007814/0.81, allocations: 192.7 kB / 0.8147 GB, free: 32.47 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.000557/0.8106, allocations: 252.4 kB / 0.815 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.8111, allocations: 189.7 kB / 0.8151 GB, free: 32.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8111, allocations: 4 kB / 0.8151 GB, free: 32.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.8113, allocations: 81 kB / 0.8152 GB, free: 32.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.8121, allocations: 148.1 kB / 0.8154 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.813, allocations: 0.5441 MB / 0.8159 GB, free: 31.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.8133, allocations: 0.7973 MB / 0.8167 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00026/0.8136, allocations: 77.64 kB / 0.8168 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.8136, allocations: 29.64 kB / 0.8168 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.8136, allocations: 0 / 0.8168 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.01549/0.8291, allocations: 6.568 MB / 0.8232 GB, free: 30.71 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)