Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_9_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.001219/0.001219, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001049/0.001049, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1257/1.162, allocations: 115.2 MB / 1.201 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04224/1.204, allocations: 26.58 MB / 1.227 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00708/1.211, allocations: 111 kB / 1.227 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.215, allocations: 1.177 MB / 1.228 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/1.228, allocations: 3.586 MB / 1.232 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007622/1.236, allocations: 2.37 MB / 1.234 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.247, allocations: 6.194 MB / 1.24 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/1.251, allocations: 1.933 MB / 1.242 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007707/1.258, allocations: 2.698 MB / 1.245 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/1.262, allocations: 1.777 MB / 1.246 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005873/1.263, allocations: 220 kB / 1.247 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007029/1.27, allocations: 2.347 MB / 1.249 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006865/1.27, allocations: 0.537 MB / 1.249 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002318/1.273, allocations: 1.279 MB / 1.251 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008647/1.281, allocations: 4.107 MB / 1.255 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.281, allocations: 3.938 kB / 1.255 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/1.281, allocations: 0 / 1.255 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.362e-05/1.281, allocations: 0 / 1.255 GB, free: 3.691 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006256/1.288, allocations: 2.83 MB / 1.257 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/1.288, allocations: 8.031 kB / 1.257 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008066/1.289, allocations: 257 kB / 1.258 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/1.293, allocations: 2.142 MB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/1.293, allocations: 102.7 kB / 1.26 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/1.293, allocations: 140 kB / 1.26 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/1.296, allocations: 1.454 MB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.296, allocations: 7.984 kB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.296, allocations: 52 kB / 1.262 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/1.296, allocations: 40 kB / 1.262 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.298, allocations: 1.025 MB / 1.263 GB, free: 11.45 MB / 0.9981 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.008972/1.307, allocations: 8.124 MB / 1.27 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.308, allocations: 0.8334 MB / 1.271 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/1.309, allocations: 379.8 kB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/1.311, allocations: 2.803 MB / 1.274 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.311, allocations: 47.16 kB / 1.274 GB, free: 13.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.647e-06/1.311, allocations: 0 / 1.274 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.002318/1.313, allocations: 1.121 MB / 1.276 GB, free: 12.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.314, allocations: 64.06 kB / 1.276 GB, free: 12.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.316, allocations: 1.629 MB / 1.277 GB, free: 11.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/1.316, allocations: 41.7 kB / 1.277 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/1.317, allocations: 0.9238 MB / 1.278 GB, free: 10.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.317, allocations: 307.6 kB / 1.278 GB, free: 9.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/1.317, allocations: 234.6 kB / 1.279 GB, free: 9.508 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.317, allocations: 345.9 kB / 1.279 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/1.318, allocations: 329.9 kB / 1.279 GB, free: 8.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/1.319, allocations: 0.7118 MB / 1.28 GB, free: 7.961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.32, allocations: 1.085 MB / 1.281 GB, free: 6.715 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.32, allocations: 4 kB / 1.281 GB, free: 6.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002233/1.323, allocations: 1.253 MB / 1.282 GB, free: 5.449 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.323, allocations: 14.25 kB / 1.282 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.323, allocations: 16 kB / 1.282 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/1.323, allocations: 19.94 kB / 1.282 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/1.323, allocations: 263.5 kB / 1.283 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/1.324, allocations: 27.86 kB / 1.283 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.325, allocations: 130.7 kB / 1.283 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.325, allocations: 71.91 kB / 1.283 GB, free: 4.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001043/1.326, allocations: 0.6197 MB / 1.283 GB, free: 4.293 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000882/1.327, allocations: 0.7032 MB / 1.284 GB, free: 3.418 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001529/1.328, allocations: 1.077 MB / 1.285 GB, free: 2.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.6e-06/1.328, allocations: 8 kB / 1.285 GB, free: 2.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002165/1.33, allocations: 1.245 MB / 1.286 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.33, allocations: 8 kB / 1.286 GB, free: 0.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.33, allocations: 16 kB / 1.286 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.33, allocations: 23.98 kB / 1.286 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/1.331, allocations: 259.5 kB / 1.287 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.331, allocations: 20.31 kB / 1.287 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/1.332, allocations: 103.2 kB / 1.287 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.332, allocations: 64.12 kB / 1.287 GB, free: 452 kB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003373/1.333, allocations: 255.8 kB / 1.287 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/1.333, allocations: 189.7 kB / 1.287 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.336, allocations: 1.745 MB / 1.289 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/1.338, allocations: 1.146 MB / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.338, allocations: 7.984 kB / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/1.339, allocations: 426.1 kB / 1.291 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.339, allocations: 20 kB / 1.291 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/1.34, allocations: 35.97 kB / 1.291 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.34, allocations: 88.88 kB / 1.291 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002194/1.342, allocations: 1.319 MB / 1.292 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003097/1.345, allocations: 2.118 MB / 1.294 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008504/1.346, allocations: 0.5665 MB / 1.295 GB, free: 8.441 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001695/1.348, allocations: 1.091 MB / 1.296 GB, free: 7.328 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/1.348, allocations: 0 / 1.296 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004961/1.353, allocations: 2.186 MB / 1.298 GB, free: 5.102 MB / 1.029 GB Notification: Performance of SimCode: time 0.007283/1.36, allocations: 4.314 MB / 1.302 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of Templates: time 0.07725/1.437, allocations: 45.15 MB / 1.346 GB, free: 4.047 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)