Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001549/0.001549, allocations: 109.8 kB / 16.41 MB, free: 6.504 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.001734/0.001735, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.134/2.134, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002248, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9063/0.9086, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1142/1.023, allocations: 115.2 MB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03872/1.062, allocations: 26.56 MB / 1.347 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005412/1.067, allocations: 115.4 kB / 1.347 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00387/1.071, allocations: 1.149 MB / 1.348 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/1.081, allocations: 3.431 MB / 1.351 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006808/1.088, allocations: 2.349 MB / 1.354 GB, free: 8.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01075/1.099, allocations: 6.182 MB / 1.36 GB, free: 2.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/1.103, allocations: 1.925 MB / 1.362 GB, free: 372 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/1.109, allocations: 2.691 MB / 1.364 GB, free: 13.67 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/1.113, allocations: 1.766 MB / 1.366 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008047/1.113, allocations: 224 kB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/1.119, allocations: 2.34 MB / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008692/1.12, allocations: 0.541 MB / 1.369 GB, free: 8.789 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/1.123, allocations: 1.287 MB / 1.37 GB, free: 7.496 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007555/1.13, allocations: 4.098 MB / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.13, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/1.13, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.367e-05/1.131, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.092 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.006051/1.137, allocations: 2.845 MB / 1.377 GB, free: 492 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.137, allocations: 8.031 kB / 1.377 GB, free: 484 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007026/1.137, allocations: 257.1 kB / 1.377 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/1.141, allocations: 2.13 MB / 1.379 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/1.142, allocations: 102.7 kB / 1.379 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/1.142, allocations: 132 kB / 1.38 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/1.144, allocations: 1.465 MB / 1.381 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/1.144, allocations: 3.906 kB / 1.381 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.144, allocations: 60 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/1.144, allocations: 32 kB / 1.381 GB, free: 12.17 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/1.146, allocations: 1.021 MB / 1.382 GB, free: 11.14 MB / 1.107 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.007799/1.154, allocations: 8.136 MB / 1.39 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.155, allocations: 0.845 MB / 1.391 GB, free: 1.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/1.156, allocations: 375.8 kB / 1.391 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/1.158, allocations: 2.807 MB / 1.394 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.158, allocations: 43.98 kB / 1.394 GB, free: 13.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.486e-06/1.158, allocations: 0 / 1.394 GB, free: 13.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.002424/1.161, allocations: 1.124 MB / 1.395 GB, free: 12.46 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.161, allocations: 60.06 kB / 1.395 GB, free: 12.39 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/1.164, allocations: 1.621 MB / 1.397 GB, free: 10.72 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.164, allocations: 45.7 kB / 1.397 GB, free: 10.67 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/1.165, allocations: 0.9277 MB / 1.398 GB, free: 9.734 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/1.165, allocations: 303.5 kB / 1.398 GB, free: 9.434 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.165, allocations: 234.7 kB / 1.398 GB, free: 9.195 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.165, allocations: 353.9 kB / 1.399 GB, free: 8.844 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/1.166, allocations: 325.9 kB / 1.399 GB, free: 8.523 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/1.167, allocations: 0.7072 MB / 1.4 GB, free: 7.645 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.169, allocations: 1.085 MB / 1.401 GB, free: 6.402 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.169, allocations: 4 kB / 1.401 GB, free: 6.398 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002518/1.171, allocations: 1.252 MB / 1.402 GB, free: 5.137 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/1.171, allocations: 12.88 kB / 1.402 GB, free: 5.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.171, allocations: 12 kB / 1.402 GB, free: 5.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/1.171, allocations: 24 kB / 1.402 GB, free: 5.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/1.172, allocations: 255.6 kB / 1.402 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/1.172, allocations: 31.86 kB / 1.402 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.173, allocations: 134.6 kB / 1.402 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.173, allocations: 71.97 kB / 1.402 GB, free: 4.605 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.175, allocations: 0.6235 MB / 1.403 GB, free: 3.977 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000882/1.176, allocations: 0.6994 MB / 1.404 GB, free: 3.109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/1.177, allocations: 1.077 MB / 1.405 GB, free: 1.875 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.235e-06/1.177, allocations: 4 kB / 1.405 GB, free: 1.871 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002211/1.179, allocations: 1.246 MB / 1.406 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.179, allocations: 12 kB / 1.406 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.179, allocations: 19.98 kB / 1.406 GB, free: 0.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.179, allocations: 16 kB / 1.406 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/1.18, allocations: 259.6 kB / 1.406 GB, free: 320 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.18, allocations: 27.92 kB / 1.406 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.181, allocations: 103.1 kB / 1.406 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/1.181, allocations: 63.98 kB / 1.406 GB, free: 124 kB / 1.123 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.0002847/1.181, allocations: 259.8 kB / 1.407 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/1.182, allocations: 185.8 kB / 1.407 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/1.185, allocations: 1.74 MB / 1.409 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/1.187, allocations: 1.146 MB / 1.41 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.187, allocations: 4 kB / 1.41 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.188, allocations: 426.1 kB / 1.41 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.189, allocations: 23.94 kB / 1.41 GB, free: 12.28 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/1.189, allocations: 43.88 kB / 1.41 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.19, allocations: 88.88 kB / 1.41 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00247/1.192, allocations: 1.323 MB / 1.411 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003082/1.195, allocations: 2.118 MB / 1.414 GB, free: 8.676 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008108/1.196, allocations: 0.5626 MB / 1.414 GB, free: 8.117 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00173/1.198, allocations: 1.095 MB / 1.415 GB, free: 7 MB / 1.139 GB Notification: Performance of Backend: time 3e-07/1.198, allocations: 0 / 1.415 GB, free: 7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004786/1.203, allocations: 2.176 MB / 1.417 GB, free: 4.781 MB / 1.139 GB Notification: Performance of SimCode: time 0.007437/1.21, allocations: 4.316 MB / 1.422 GB, free: 396 kB / 1.139 GB Notification: Performance of Templates: time 0.6734/1.884, allocations: 45.95 MB / 1.466 GB, free: 2.898 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)