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.0009404/0.0009402, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007226/0.007226, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.603/1.603, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.642/1.642, allocations: 252 MB / 0.5105 GB, free: 4.641 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.0005742/0.0005743, allocations: 15.98 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5251, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0443/0.5694, allocations: 43.54 MB / 0.7712 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.588, allocations: 12.9 MB / 0.7838 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.5899, allocations: 35.75 kB / 0.7839 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.5915, allocations: 485.3 kB / 0.7843 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.5972, allocations: 1.82 MB / 0.7861 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.6008, allocations: 1.162 MB / 0.7872 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006646/0.6075, allocations: 4.221 MB / 0.7914 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.6092, allocations: 0.8618 MB / 0.7922 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.6124, allocations: 1.143 MB / 0.7933 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.6139, allocations: 0.8982 MB / 0.7942 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.6141, allocations: 52 kB / 0.7943 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.6172, allocations: 1.419 MB / 0.7956 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.6174, allocations: 215 kB / 0.7958 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007584/0.6182, allocations: 0.6158 MB / 0.7964 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.6216, allocations: 2.344 MB / 0.7987 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6216, allocations: 0 / 0.7987 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6216, allocations: 0 / 0.7987 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.6217, allocations: 0 / 0.7987 GB, free: 3.336 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.003269/0.625, allocations: 1.453 MB / 0.8002 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.625, allocations: 8.031 kB / 0.8002 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.6254, allocations: 139.4 kB / 0.8003 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.6277, allocations: 1.206 MB / 0.8015 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.6278, allocations: 50 kB / 0.8015 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6279, allocations: 72 kB / 0.8016 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6292, allocations: 0.7598 MB / 0.8023 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.6293, allocations: 0 / 0.8023 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.6293, allocations: 31.98 kB / 0.8024 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.6294, allocations: 16 kB / 0.8024 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6304, allocations: 0.5789 MB / 0.8029 GB, free: 14.91 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.004961/0.6354, allocations: 4.002 MB / 0.8068 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.6363, allocations: 472.7 kB / 0.8073 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.6367, allocations: 225.1 kB / 0.8075 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.6381, allocations: 1.523 MB / 0.809 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.596e-05/0.6382, allocations: 38.55 kB / 0.809 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 3.075e-06/0.6382, allocations: 0 / 0.809 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.001474/0.6397, allocations: 0.6824 MB / 0.8097 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.6397, allocations: 63.39 kB / 0.8098 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6412, allocations: 1.006 MB / 0.8107 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.6413, allocations: 37.7 kB / 0.8108 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.6417, allocations: 480.6 kB / 0.8112 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.6418, allocations: 161.6 kB / 0.8114 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.6419, allocations: 57.69 kB / 0.8114 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6421, allocations: 326 kB / 0.8118 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.6425, allocations: 185 kB / 0.8119 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.6429, allocations: 328.5 kB / 0.8122 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.6438, allocations: 0.519 MB / 0.8128 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.6438, allocations: 0 / 0.8128 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001199/0.645, allocations: 0.6624 MB / 0.8134 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.6452, allocations: 191.5 kB / 0.8136 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.6452, allocations: 8 kB / 0.8136 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6452, allocations: 4 kB / 0.8136 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.6457, allocations: 123.8 kB / 0.8137 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.6457, allocations: 15.92 kB / 0.8137 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.6464, allocations: 95.19 kB / 0.8138 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.6465, allocations: 31.98 kB / 0.8139 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.6465, allocations: 4 kB / 0.8139 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009791/0.6475, allocations: 0.5295 MB / 0.8144 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.6476, allocations: 11.98 kB / 0.8144 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.6476, allocations: 7.938 kB / 0.8144 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.648, allocations: 131.9 kB / 0.8145 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.648, allocations: 7.938 kB / 0.8145 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.6486, allocations: 91.48 kB / 0.8146 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.6487, allocations: 31.98 kB / 0.8146 GB, free: 2.035 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.0004688/0.6492, allocations: 337 kB / 0.815 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.6493, allocations: 110.7 kB / 0.8151 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.651, allocations: 0.968 MB / 0.816 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.6511, allocations: 11.94 kB / 0.816 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6511, allocations: 0 / 0.816 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.6522, allocations: 0.857 MB / 0.8169 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.6552, allocations: 2.023 MB / 0.8188 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.6552, allocations: 4 kB / 0.8188 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.6556, allocations: 99.88 kB / 0.8189 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.6557, allocations: 4 kB / 0.8189 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.6557, allocations: 19.94 kB / 0.819 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6557, allocations: 4 kB / 0.819 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6557, allocations: 7.984 kB / 0.819 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.6575, allocations: 1.218 MB / 0.8202 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.6579, allocations: 311.3 kB / 0.8205 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.658, allocations: 12.12 kB / 0.8205 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.6586, allocations: 55.89 kB / 0.8205 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.6587, allocations: 52.44 kB / 0.8206 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.6588, allocations: 31.98 kB / 0.8206 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001053/0.6599, allocations: 0.7225 MB / 0.8213 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6599, allocations: 0 / 0.8213 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001518/0.6614, allocations: 0.6046 MB / 0.8219 GB, free: 10.35 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.0009621/0.6624, allocations: 0.516 MB / 0.8224 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.664, allocations: 0.9421 MB / 0.8233 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.664, allocations: 0 / 0.8233 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.6646, allocations: 411.8 kB / 0.8237 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.668, allocations: 0.5673 MB / 0.8243 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.6712, allocations: 2.525 MB / 0.8267 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.6718, allocations: 1.054 MB / 0.8278 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009819/0.6728, allocations: 284.9 kB / 0.828 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.673, allocations: 107.4 kB / 0.8281 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.673, allocations: 0 / 0.8281 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of Templates: time 0.04295/0.716, allocations: 25.52 MB / 0.8531 GB, free: 10.66 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: