Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001506/0.001506, allocations: 188.3 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 1.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 469.4 MB / 0.7428 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 60.12 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8949, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06402/0.9589, allocations: 66.54 MB / 1.286 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.984, allocations: 16.76 MB / 1.302 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/0.988, allocations: 63.62 kB / 1.302 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.9916, allocations: 0.8347 MB / 1.303 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008183/0.9998, allocations: 2.683 MB / 1.306 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005069/1.005, allocations: 1.822 MB / 1.308 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.04948/1.054, allocations: 35.84 MB / 1.343 GB, free: 5.457 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02398/1.078, allocations: 15.77 MB / 1.358 GB, free: 5.555 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02485/1.103, allocations: 11.99 MB / 1.37 GB, free: 9.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/1.12, allocations: 9.699 MB / 1.379 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.004721/1.124, allocations: 1.453 MB / 1.381 GB, free: 14.4 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/1.137, allocations: 3.18 MB / 1.384 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0063/1.143, allocations: 3.279 MB / 1.387 GB, free: 7.926 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01469/1.158, allocations: 7.306 MB / 1.394 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02789/1.186, allocations: 21.96 MB / 1.415 GB, free: 10.57 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.186, allocations: 0 / 1.415 GB, free: 10.57 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.863e-06/1.186, allocations: 0 / 1.415 GB, free: 10.57 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0006948/1.187, allocations: 0 / 1.415 GB, free: 10.57 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04061/1.227, allocations: 13.13 MB / 1.428 GB, free: 13.33 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.227, allocations: 8.031 kB / 1.428 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007541/1.235, allocations: 1.295 MB / 1.429 GB, free: 12.02 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03071/1.266, allocations: 12.96 MB / 1.442 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006171/1.266, allocations: 0.5255 MB / 1.443 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/1.269, allocations: 0.7185 MB / 1.443 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/1.301, allocations: 11.2 MB / 1.454 GB, free: 2.223 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/1.301, allocations: 43.67 kB / 1.454 GB, free: 2.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/1.304, allocations: 304 kB / 1.455 GB, free: 1.883 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/1.304, allocations: 215.9 kB / 1.455 GB, free: 1.672 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.326, allocations: 9.249 MB / 1.464 GB, free: 8.398 MB / 1.186 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.09277/1.419, allocations: 52.14 MB / 1.515 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008898/1.428, allocations: 4.849 MB / 1.52 GB, free: 12 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004976/1.433, allocations: 2.832 MB / 1.522 GB, free: 9.16 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.435, allocations: 1.715 MB / 1.524 GB, free: 7.098 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/1.435, allocations: 90.2 kB / 1.524 GB, free: 6.996 MB / 1.248 GB Notification: Performance of pre-optimization done (n=420): time 6.843e-06/1.435, allocations: 0 / 1.524 GB, free: 6.996 MB / 1.248 GB Notification: Performance of matching and sorting (n=420): time 0.01815/1.453, allocations: 7.819 MB / 1.532 GB, free: 15.15 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/1.453, allocations: 94.53 kB / 1.532 GB, free: 15.05 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02408/1.477, allocations: 10.47 MB / 1.542 GB, free: 4.621 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001533/1.479, allocations: 109.7 kB / 1.542 GB, free: 4.508 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.006343/1.485, allocations: 4.721 MB / 1.547 GB, free: 15.75 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0034/1.489, allocations: 1.483 MB / 1.548 GB, free: 14.24 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002415/1.491, allocations: 1.111 MB / 1.549 GB, free: 13.12 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.491, allocations: 301.1 kB / 1.55 GB, free: 12.82 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.496, allocations: 2.68 MB / 1.552 GB, free: 10.13 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006488/1.502, allocations: 4.201 MB / 1.556 GB, free: 5.262 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.344/2.846, allocations: 7.408 MB / 1.563 GB, free: 302.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-05/2.846, allocations: 13.31 kB / 1.563 GB, free: 302.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01852/2.865, allocations: 7.991 MB / 1.571 GB, free: 301.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/2.865, allocations: 28.56 kB / 1.571 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/2.865, allocations: 71.81 kB / 1.571 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/2.865, allocations: 73.97 kB / 1.571 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/2.869, allocations: 1.205 MB / 1.573 GB, free: 301.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/2.87, allocations: 102.1 kB / 1.573 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007108/2.877, allocations: 0.6819 MB / 1.573 GB, free: 301.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009392/2.878, allocations: 288 kB / 1.574 GB, free: 301.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01126/2.889, allocations: 6.437 MB / 1.58 GB, free: 299.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005711/2.895, allocations: 4.206 MB / 1.584 GB, free: 296.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01018/2.905, allocations: 7.403 MB / 1.591 GB, free: 292.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.214e-05/2.905, allocations: 11.5 kB / 1.591 GB, free: 292.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01626/2.921, allocations: 7.986 MB / 1.599 GB, free: 289.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/2.921, allocations: 24.94 kB / 1.599 GB, free: 289.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/2.921, allocations: 77.86 kB / 1.599 GB, free: 289.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.583e-05/2.922, allocations: 73.81 kB / 1.599 GB, free: 289.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/2.925, allocations: 1.208 MB / 1.6 GB, free: 289.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/2.926, allocations: 103.7 kB / 1.601 GB, free: 289.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008343/2.934, allocations: 0.5744 MB / 1.601 GB, free: 289.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007348/2.935, allocations: 287.9 kB / 1.601 GB, free: 289.2 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001688/2.936, allocations: 0.5075 MB / 1.602 GB, free: 288.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00338/2.94, allocations: 0.8436 MB / 1.603 GB, free: 288.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/2.953, allocations: 8.912 MB / 1.611 GB, free: 283.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007498/2.961, allocations: 6.099 MB / 1.617 GB, free: 277.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.297e-05/2.961, allocations: 31.97 kB / 1.617 GB, free: 277.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00605/2.967, allocations: 2.237 MB / 1.62 GB, free: 275.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002431/2.97, allocations: 123.9 kB / 1.62 GB, free: 275.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/2.975, allocations: 328.5 kB / 1.62 GB, free: 275 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/2.976, allocations: 0.6047 MB / 1.621 GB, free: 274.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01061/2.987, allocations: 7.482 MB / 1.628 GB, free: 266.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01505/3.002, allocations: 12.1 MB / 1.64 GB, free: 254.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003737/3.006, allocations: 3.493 MB / 1.643 GB, free: 251.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01171/3.017, allocations: 7.413 MB / 1.65 GB, free: 243.7 MB / 1.279 GB Notification: Performance of Backend: time 7.91e-07/3.017, allocations: 0 / 1.65 GB, free: 243.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01926/3.037, allocations: 9.434 MB / 1.66 GB, free: 234.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.04789/3.085, allocations: 25.54 MB / 1.685 GB, free: 208.7 MB / 1.279 GB Notification: Performance of Templates: time 0.2783/3.363, allocations: 212.9 MB / 1.892 GB, free: 13.2 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)