Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00112/0.001121, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001135/0.001135, allocations: 184 kB / 17.22 MB, free: 5.934 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.731/1.731, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.839/1.839, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001445/0.001445, allocations: 63.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5554/0.8196, allocations: 44.69 MB / 0.8277 GB, free: 20.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.8385, allocations: 13.01 MB / 0.8404 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.8412, allocations: 38.75 kB / 0.8404 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.8433, allocations: 0.5959 MB / 0.841 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007762/0.8511, allocations: 1.968 MB / 0.8429 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.8562, allocations: 1.318 MB / 0.8442 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006908/0.8631, allocations: 3.265 MB / 0.8474 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.8657, allocations: 1.063 MB / 0.8485 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005044/0.8708, allocations: 1.381 MB / 0.8498 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.8737, allocations: 0.9492 MB / 0.8507 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007224/0.8745, allocations: 131.5 kB / 0.8509 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006927/0.8814, allocations: 1.57 MB / 0.8524 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.8825, allocations: 303.2 kB / 0.8527 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.8855, allocations: 0.6879 MB / 0.8534 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008518/0.894, allocations: 2.46 MB / 0.8558 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.8941, allocations: 0 / 0.8558 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.955e-06/0.8941, allocations: 0 / 0.8558 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.555e-05/0.8942, allocations: 1.281 kB / 0.8558 GB, free: 4.074 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006903/0.9011, allocations: 1.665 MB / 0.8574 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9012, allocations: 10.31 kB / 0.8574 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.9021, allocations: 136.5 kB / 0.8575 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.906, allocations: 1.182 MB / 0.8587 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.9061, allocations: 53.88 kB / 0.8587 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.9065, allocations: 66.47 kB / 0.8588 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.9088, allocations: 0.7711 MB / 0.8595 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.9089, allocations: 2.75 kB / 0.8596 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.909, allocations: 26.34 kB / 0.8596 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.9091, allocations: 21.41 kB / 0.8596 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.9105, allocations: 0.5626 MB / 0.8601 GB, free: 1.559 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.007626/0.9182, allocations: 3.999 MB / 0.8641 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.9195, allocations: 463.4 kB / 0.8645 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.9199, allocations: 224.4 kB / 0.8647 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.9215, allocations: 1.506 MB / 0.8662 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.9215, allocations: 41.64 kB / 0.8662 GB, free: 12.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 3.497e-06/0.9215, allocations: 0 / 0.8662 GB, free: 12.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.002019/0.9236, allocations: 0.6671 MB / 0.8669 GB, free: 11.81 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.9236, allocations: 63.27 kB / 0.8669 GB, free: 11.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.9261, allocations: 1.009 MB / 0.8679 GB, free: 11.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.9262, allocations: 32.27 kB / 0.8679 GB, free: 11.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.9267, allocations: 486.7 kB / 0.8684 GB, free: 10.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.927, allocations: 166.1 kB / 0.8686 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.9273, allocations: 123.5 kB / 0.8687 GB, free: 10.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9275, allocations: 326.7 kB / 0.869 GB, free: 10.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.9279, allocations: 186.8 kB / 0.8692 GB, free: 10.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/0.9285, allocations: 317.2 kB / 0.8695 GB, free: 9.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.9296, allocations: 0.5082 MB / 0.87 GB, free: 9.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.9296, allocations: 1.438 kB / 0.87 GB, free: 9.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00193/0.9316, allocations: 0.6483 MB / 0.8706 GB, free: 9.145 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.9316, allocations: 7.031 kB / 0.8706 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/0.9317, allocations: 12.98 kB / 0.8706 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.9317, allocations: 5.781 kB / 0.8706 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.9323, allocations: 121.7 kB / 0.8707 GB, free: 9.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.9323, allocations: 9.5 kB / 0.8708 GB, free: 9.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.9334, allocations: 78.88 kB / 0.8708 GB, free: 9.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.9336, allocations: 32.27 kB / 0.8709 GB, free: 9.043 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001001/0.9346, allocations: 398.6 kB / 0.8712 GB, free: 8.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006549/0.9352, allocations: 322.3 kB / 0.8716 GB, free: 8.543 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.9363, allocations: 0.5079 MB / 0.872 GB, free: 8.195 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.564e-06/0.9363, allocations: 1.312 kB / 0.872 GB, free: 8.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001713/0.938, allocations: 0.6399 MB / 0.8727 GB, free: 7.867 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.938, allocations: 10.42 kB / 0.8727 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.9381, allocations: 4.5 kB / 0.8727 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9381, allocations: 10.19 kB / 0.8727 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.9386, allocations: 121.3 kB / 0.8728 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.9386, allocations: 13.11 kB / 0.8728 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/0.9396, allocations: 61.83 kB / 0.8729 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9398, allocations: 32.17 kB / 0.8729 GB, free: 7.773 MB / 0.67 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.0002726/0.94, allocations: 208.8 kB / 0.8731 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.9405, allocations: 105.8 kB / 0.8732 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.9428, allocations: 0.9739 MB / 0.8742 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.9429, allocations: 8.219 kB / 0.8742 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9429, allocations: 0 / 0.8742 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.9443, allocations: 0.8439 MB / 0.875 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.9491, allocations: 2.01 MB / 0.877 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.9492, allocations: 4.344 kB / 0.877 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.9496, allocations: 102.5 kB / 0.8771 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.9496, allocations: 4.406 kB / 0.8771 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.9497, allocations: 21.39 kB / 0.8771 GB, free: 4.863 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.9497, allocations: 4.281 kB / 0.8771 GB, free: 4.863 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.9497, allocations: 5.375 kB / 0.8771 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.9522, allocations: 1.197 MB / 0.8783 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.953, allocations: 290.5 kB / 0.8785 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.9534, allocations: 20.41 kB / 0.8786 GB, free: 3.867 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.9542, allocations: 27.11 kB / 0.8786 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9544, allocations: 57.7 kB / 0.8786 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.9545, allocations: 27.36 kB / 0.8787 GB, free: 3.812 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001669/0.9562, allocations: 0.7232 MB / 0.8794 GB, free: 3.398 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9562, allocations: 0 / 0.8794 GB, free: 3.398 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003188/0.9594, allocations: 0.6133 MB / 0.88 GB, free: 3.254 MB / 0.67 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.002186/0.9616, allocations: 0.5154 MB / 0.8805 GB, free: 2.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.9642, allocations: 0.9292 MB / 0.8814 GB, free: 2.492 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9642, allocations: 0 / 0.8814 GB, free: 2.492 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.965, allocations: 408.4 kB / 0.8818 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/0.9688, allocations: 0.6089 MB / 0.8824 GB, free: 1.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.9734, allocations: 2.025 MB / 0.8843 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.9746, allocations: 1.06 MB / 0.8854 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001738/0.9764, allocations: 294.3 kB / 0.8857 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.9769, allocations: 103 kB / 0.8858 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of SimCode: time 1.804e-06/0.9769, allocations: 5 kB / 0.8858 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of Templates: time 0.05781/1.035, allocations: 26.7 MB / 0.9118 GB, free: 7.266 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)