Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 170.1 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.7 MB / 0.6617 GB, free: 7.199 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.78 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 12 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7314, allocations: 119.2 MB / 1.022 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03628/0.7677, allocations: 44.43 MB / 1.066 GB, free: 25.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.785, allocations: 17.87 MB / 1.083 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.7872, allocations: 32.78 kB / 1.083 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.7892, allocations: 488.5 kB / 1.084 GB, free: 9.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00558/0.7948, allocations: 1.816 MB / 1.085 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.7985, allocations: 1.173 MB / 1.087 GB, free: 8.266 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004897/0.8034, allocations: 4.234 MB / 1.091 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.805, allocations: 0.8411 MB / 1.091 GB, free: 6.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.8087, allocations: 1.175 MB / 1.093 GB, free: 5.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.811, allocations: 0.902 MB / 1.094 GB, free: 5.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004759/0.8115, allocations: 48.34 kB / 1.094 GB, free: 5.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004639/0.8162, allocations: 1.361 MB / 1.095 GB, free: 4.992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.8169, allocations: 214 kB / 1.095 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.8187, allocations: 0.6257 MB / 1.096 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005629/0.8243, allocations: 2.352 MB / 1.098 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.8244, allocations: 0 / 1.098 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.388e-06/0.8244, allocations: 0 / 1.098 GB, free: 3.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.942e-05/0.8244, allocations: 3.938 kB / 1.098 GB, free: 3.797 MB / 0.698 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.003869/0.8283, allocations: 1.453 MB / 1.099 GB, free: 2.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8284, allocations: 13.97 kB / 1.099 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.8289, allocations: 133.3 kB / 1.1 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.8318, allocations: 1.191 MB / 1.101 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.8319, allocations: 49.38 kB / 1.101 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.832, allocations: 75.66 kB / 1.101 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.8335, allocations: 0.7627 MB / 1.102 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.8336, allocations: 0 / 1.102 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.8336, allocations: 26.25 kB / 1.102 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.8337, allocations: 17.86 kB / 1.102 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.8347, allocations: 0.5744 MB / 1.102 GB, free: 1.418 MB / 0.698 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.005112/0.8398, allocations: 4.016 MB / 1.106 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.8408, allocations: 474.2 kB / 1.107 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.8412, allocations: 221.6 kB / 1.107 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.8425, allocations: 1.522 MB / 1.108 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.8425, allocations: 38.59 kB / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 2.675e-06/0.8425, allocations: 0 / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.001402/0.8439, allocations: 0.6821 MB / 1.109 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.844, allocations: 61.72 kB / 1.109 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.8455, allocations: 0.9989 MB / 1.11 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.8455, allocations: 33.02 kB / 1.11 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.8459, allocations: 482.7 kB / 1.11 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.8461, allocations: 162.2 kB / 1.111 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.8461, allocations: 11.06 kB / 1.111 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.8462, allocations: 327.1 kB / 1.111 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.8466, allocations: 186.9 kB / 1.111 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.847, allocations: 322.6 kB / 1.111 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.8479, allocations: 0.5113 MB / 1.112 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8479, allocations: 11.34 kB / 1.112 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00123/0.8491, allocations: 0.6559 MB / 1.113 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.8493, allocations: 187.7 kB / 1.113 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.8494, allocations: 9.906 kB / 1.113 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.8494, allocations: 6.219 kB / 1.113 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.8498, allocations: 128.1 kB / 1.113 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.8498, allocations: 8.281 kB / 1.113 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.8506, allocations: 94.45 kB / 1.113 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.8507, allocations: 31.14 kB / 1.113 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.8507, allocations: 3.406 kB / 1.113 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009435/0.8517, allocations: 0.535 MB / 1.114 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.8517, allocations: 6.344 kB / 1.114 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.8517, allocations: 6.844 kB / 1.114 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.8521, allocations: 128.9 kB / 1.114 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8521, allocations: 5.938 kB / 1.114 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.8529, allocations: 96.22 kB / 1.114 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.853, allocations: 43.12 kB / 1.114 GB, free: 9.344 MB / 0.7136 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.0004844/0.8535, allocations: 340.1 kB / 1.114 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.8536, allocations: 106.8 kB / 1.114 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.8555, allocations: 0.9773 MB / 1.115 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.8555, allocations: 10.8 kB / 1.115 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8555, allocations: 5.312 kB / 1.115 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.8567, allocations: 0.8422 MB / 1.116 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.8602, allocations: 2.031 MB / 1.118 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.8603, allocations: 3.375 kB / 1.118 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.8607, allocations: 101.7 kB / 1.118 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.8607, allocations: 4 kB / 1.118 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.8608, allocations: 19.89 kB / 1.118 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.8608, allocations: 5.281 kB / 1.118 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.8608, allocations: 7.141 kB / 1.118 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.8628, allocations: 1.21 MB / 1.119 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.8634, allocations: 303.5 kB / 1.12 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.8636, allocations: 13.25 kB / 1.12 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.8643, allocations: 57.53 kB / 1.12 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8645, allocations: 58.61 kB / 1.12 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.8646, allocations: 31.17 kB / 1.12 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001556/0.8661, allocations: 0.7121 MB / 1.121 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8661, allocations: 0 / 1.121 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003193/0.8693, allocations: 0.6068 MB / 1.121 GB, free: 5.637 MB / 0.7136 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.001544/0.8709, allocations: 0.5188 MB / 1.122 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.8728, allocations: 0.935 MB / 1.123 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.8729, allocations: 5.25 kB / 1.123 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.8736, allocations: 403 kB / 1.123 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.8767, allocations: 0.5905 MB / 1.123 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.8808, allocations: 2.519 MB / 1.126 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.8817, allocations: 1.058 MB / 1.127 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001349/0.883, allocations: 303.8 kB / 1.127 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.8834, allocations: 102 kB / 1.127 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.8834, allocations: 0 / 1.127 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of Templates: time 0.05572/0.9391, allocations: 25.59 MB / 1.152 GB, free: 10.31 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)