Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002324/0.002324, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.758/1.758, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.734/1.734, allocations: 251.7 MB / 0.5088 GB, free: 3.281 MB / 414.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.001634/0.001634, allocations: 63.89 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6288, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04354/0.6724, allocations: 44.44 MB / 0.7672 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02346/0.696, allocations: 13.08 MB / 0.78 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.6994, allocations: 35.81 kB / 0.78 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.7015, allocations: 0.4895 MB / 0.7805 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.7075, allocations: 1.819 MB / 0.7823 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.7112, allocations: 1.16 MB / 0.7834 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005327/0.7166, allocations: 4.222 MB / 0.7875 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.7181, allocations: 0.8746 MB / 0.7884 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.7212, allocations: 1.167 MB / 0.7895 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.7228, allocations: 0.9333 MB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.723, allocations: 56 kB / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.7263, allocations: 1.438 MB / 0.7919 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.7266, allocations: 231 kB / 0.7921 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009937/0.7276, allocations: 0.6102 MB / 0.7927 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.7323, allocations: 2.392 MB / 0.795 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.7324, allocations: 4 kB / 0.795 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7324, allocations: 0 / 0.795 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.7324, allocations: 0 / 0.795 GB, free: 4.109 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004139/0.7365, allocations: 1.655 MB / 0.7966 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/0.7366, allocations: 16.02 kB / 0.7967 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.7372, allocations: 131.3 kB / 0.7968 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.74, allocations: 1.198 MB / 0.798 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.74, allocations: 54 kB / 0.798 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7402, allocations: 68 kB / 0.7981 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.7417, allocations: 0.7598 MB / 0.7988 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.7417, allocations: 0 / 0.7988 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.7418, allocations: 28 kB / 0.7988 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.7418, allocations: 16 kB / 0.7989 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.7431, allocations: 0.5672 MB / 0.7994 GB, free: 15.5 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.00563/0.7487, allocations: 3.994 MB / 0.8033 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.7498, allocations: 467 kB / 0.8038 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.7502, allocations: 218.8 kB / 0.804 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/0.7517, allocations: 1.511 MB / 0.8054 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.7518, allocations: 38.56 kB / 0.8055 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/0.7518, allocations: 0 / 0.8055 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.001488/0.7533, allocations: 0.6707 MB / 0.8061 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7533, allocations: 59.34 kB / 0.8062 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7548, allocations: 1.01 MB / 0.8072 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.7549, allocations: 33.7 kB / 0.8072 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.7554, allocations: 480.6 kB / 0.8077 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.7556, allocations: 165.6 kB / 0.8078 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7558, allocations: 118.1 kB / 0.8079 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.756, allocations: 330 kB / 0.8083 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.7563, allocations: 187 kB / 0.8084 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.7569, allocations: 320.5 kB / 0.8087 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.7578, allocations: 0.5034 MB / 0.8092 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7578, allocations: 0 / 0.8092 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001323/0.7591, allocations: 0.6507 MB / 0.8099 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7591, allocations: 8 kB / 0.8099 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.7592, allocations: 8.375 kB / 0.8099 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.7592, allocations: 8 kB / 0.8099 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.7597, allocations: 127.8 kB / 0.81 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7597, allocations: 4 kB / 0.81 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.7604, allocations: 99.17 kB / 0.8101 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.7605, allocations: 27.98 kB / 0.8101 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006453/0.7611, allocations: 401.1 kB / 0.8105 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00045/0.7616, allocations: 324.5 kB / 0.8108 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008396/0.7624, allocations: 0.5032 MB / 0.8113 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.7625, allocations: 0 / 0.8113 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001217/0.7637, allocations: 0.6431 MB / 0.8119 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7637, allocations: 4 kB / 0.8119 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7637, allocations: 8 kB / 0.812 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7637, allocations: 12.05 kB / 0.812 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.7642, allocations: 127.8 kB / 0.8121 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7642, allocations: 8 kB / 0.8121 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.7649, allocations: 71.83 kB / 0.8122 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.765, allocations: 27.98 kB / 0.8122 GB, free: 1.465 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * 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 prepare postOptimizeDAE: time 0.0002301/0.7652, allocations: 212.1 kB / 0.8124 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.7654, allocations: 106.8 kB / 0.8125 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.7671, allocations: 0.9756 MB / 0.8134 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7672, allocations: 15.92 kB / 0.8135 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7672, allocations: 0 / 0.8135 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.7683, allocations: 0.8414 MB / 0.8143 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.7715, allocations: 2 MB / 0.8162 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.7715, allocations: 4 kB / 0.8162 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.7719, allocations: 100.1 kB / 0.8163 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.7719, allocations: 4 kB / 0.8163 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.772, allocations: 19.98 kB / 0.8164 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.772, allocations: 7.938 kB / 0.8164 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.772, allocations: 4 kB / 0.8164 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.7738, allocations: 1.198 MB / 0.8175 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.7742, allocations: 283.7 kB / 0.8178 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.7744, allocations: 19.98 kB / 0.8178 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.775, allocations: 47.88 kB / 0.8179 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.7752, allocations: 56.42 kB / 0.8179 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.7752, allocations: 31.98 kB / 0.818 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001047/0.7763, allocations: 0.7148 MB / 0.8187 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7763, allocations: 0 / 0.8187 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001716/0.778, allocations: 0.6046 MB / 0.8192 GB, free: 9.984 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.001099/0.7791, allocations: 0.5192 MB / 0.8198 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.7808, allocations: 0.9234 MB / 0.8207 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7808, allocations: 0 / 0.8207 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.7814, allocations: 406.4 kB / 0.821 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.784, allocations: 0.5636 MB / 0.8216 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.7873, allocations: 2.406 MB / 0.8239 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.7879, allocations: 1.062 MB / 0.825 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001215/0.7891, allocations: 292.7 kB / 0.8253 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.7894, allocations: 103.4 kB / 0.8254 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.7894, allocations: 0 / 0.8254 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of Templates: time 0.04552/0.8349, allocations: 25.46 MB / 0.8502 GB, free: 10.48 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)