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.001075/0.001075, allocations: 100 kB / 15.05 MB, free: 1.105 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.001071/0.001071, allocations: 177.3 kB / 15.94 MB, free: 228 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.62/1.62, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.683/1.683, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005427/0.0005427, allocations: 19.73 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2767, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01963/0.2964, allocations: 12.63 MB / 0.7994 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.3018, allocations: 3.276 MB / 0.8026 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.3025, allocations: 19.94 kB / 0.8027 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.3032, allocations: 175.1 kB / 0.8028 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.3053, allocations: 0.6505 MB / 0.8035 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.307, allocations: 0.5496 MB / 0.804 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.3084, allocations: 0.7372 MB / 0.8047 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.3089, allocations: 220.7 kB / 0.8049 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.3097, allocations: 334.8 kB / 0.8052 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.3101, allocations: 183.2 kB / 0.8054 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.3101, allocations: 12 kB / 0.8054 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3112, allocations: 0.4992 MB / 0.8059 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.3113, allocations: 55.73 kB / 0.806 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3114, allocations: 97.45 kB / 0.8061 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.3122, allocations: 455 kB / 0.8065 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3122, allocations: 0 / 0.8065 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3122, allocations: 0 / 0.8065 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3122, allocations: 0 / 0.8065 GB, free: 8.047 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.001227/0.3135, allocations: 0.6656 MB / 0.8072 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3135, allocations: 16.03 kB / 0.8072 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3136, allocations: 43.44 kB / 0.8072 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/0.3146, allocations: 409.3 kB / 0.8076 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3146, allocations: 12.33 kB / 0.8076 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3146, allocations: 16 kB / 0.8076 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.315, allocations: 196.1 kB / 0.8078 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.315, allocations: 3.984 kB / 0.8078 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3151, allocations: 4 kB / 0.8078 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3151, allocations: 4 kB / 0.8078 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3154, allocations: 152.2 kB / 0.808 GB, free: 6.445 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.00123/0.3166, allocations: 0.8801 MB / 0.8088 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.317, allocations: 130.6 kB / 0.809 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.3173, allocations: 336.4 kB / 0.8093 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3173, allocations: 38.56 kB / 0.8093 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3173, allocations: 0 / 0.8093 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.000574/0.3179, allocations: 233.3 kB / 0.8095 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3179, allocations: 59.36 kB / 0.8096 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.3183, allocations: 365.7 kB / 0.8099 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3184, allocations: 29.7 kB / 0.81 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3185, allocations: 196.2 kB / 0.8102 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3186, allocations: 39.47 kB / 0.8102 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.3186, allocations: 0 / 0.8102 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3187, allocations: 346.8 kB / 0.8105 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3188, allocations: 47.97 kB / 0.8106 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.319, allocations: 92.61 kB / 0.8107 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3192, allocations: 67.91 kB / 0.8107 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3192, allocations: 3.938 kB / 0.8107 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003799/0.3196, allocations: 185.1 kB / 0.8109 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.735e-05/0.3197, allocations: 182 kB / 0.8111 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3197, allocations: 0 / 0.8111 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3197, allocations: 4 kB / 0.8111 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3198, allocations: 31.97 kB / 0.8111 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3198, allocations: 0 / 0.8111 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3201, allocations: 31.91 kB / 0.8111 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3201, allocations: 8.047 kB / 0.8111 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.3201, allocations: 7.938 kB / 0.8112 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002918/0.3204, allocations: 127.8 kB / 0.8113 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3204, allocations: 3.984 kB / 0.8113 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.3205, allocations: 7.938 kB / 0.8113 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3206, allocations: 23.98 kB / 0.8113 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.3206, allocations: 0 / 0.8113 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3208, allocations: 35.88 kB / 0.8113 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3208, allocations: 7.953 kB / 0.8114 GB, free: 2.703 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.0001611/0.321, allocations: 221.1 kB / 0.8116 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3211, allocations: 31.62 kB / 0.8116 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.3216, allocations: 243.6 kB / 0.8118 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.3216, allocations: 4 kB / 0.8118 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3216, allocations: 3.938 kB / 0.8118 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3216, allocations: 3.984 kB / 0.8118 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.3225, allocations: 0.6568 MB / 0.8125 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.3225, allocations: 4.062 kB / 0.8125 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3226, allocations: 31.97 kB / 0.8125 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3226, allocations: 4.094 kB / 0.8125 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3227, allocations: 4 kB / 0.8125 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3227, allocations: 3.953 kB / 0.8125 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3227, allocations: 0 / 0.8125 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.3231, allocations: 358.7 kB / 0.8129 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3233, allocations: 140.5 kB / 0.813 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3233, allocations: 4 kB / 0.813 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3236, allocations: 27.97 kB / 0.813 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3236, allocations: 15.92 kB / 0.813 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3236, allocations: 8 kB / 0.8131 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002904/0.3239, allocations: 267.1 kB / 0.8133 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3239, allocations: 4 kB / 0.8133 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005923/0.3245, allocations: 195.6 kB / 0.8135 GB, free: 368 kB / 0.6231 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.000564/0.3251, allocations: 245.2 kB / 0.8137 GB, free: 116 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.3256, allocations: 199.8 kB / 0.8139 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3257, allocations: 0 / 0.8139 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.3258, allocations: 92 kB / 0.814 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.3266, allocations: 150 kB / 0.8142 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.3275, allocations: 0.6832 MB / 0.8148 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3279, allocations: 0.8038 MB / 0.8156 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.3281, allocations: 74.86 kB / 0.8157 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.3282, allocations: 31.44 kB / 0.8157 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.3282, allocations: 0 / 0.8157 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.01197/0.3402, allocations: 6.542 MB / 0.8221 GB, free: 7.594 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: