Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001702/0.001702, allocations: 189.6 kB / 17.35 MB, free: 5.75 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 59.89 kB / 1.055 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6493, allocations: 157.4 MB / 1.209 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.3012/0.9505, allocations: 357.8 MB / 1.558 GB, free: 6.547 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7001/1.651, allocations: 75.85 MB / 1.632 GB, free: 61.08 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/1.664, allocations: 431.2 kB / 1.632 GB, free: 61.08 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01372/1.678, allocations: 5.764 MB / 1.638 GB, free: 60.97 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02807/1.706, allocations: 11.67 MB / 1.65 GB, free: 60.48 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01771/1.724, allocations: 8.3 MB / 1.658 GB, free: 60.24 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07073/1.794, allocations: 65.92 MB / 1.722 GB, free: 36.72 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01912/1.814, allocations: 17.4 MB / 1.739 GB, free: 19.91 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02461/1.838, allocations: 14.84 MB / 1.753 GB, free: 5.906 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02221/1.86, allocations: 14.02 MB / 1.767 GB, free: 8.906 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00588/1.866, allocations: 1.613 MB / 1.769 GB, free: 7.293 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/1.883, allocations: 5.131 MB / 1.774 GB, free: 2.363 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.008298/1.891, allocations: 5.47 MB / 1.779 GB, free: 13.11 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01822/1.909, allocations: 9.44 MB / 1.788 GB, free: 3.848 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03565/1.945, allocations: 25.97 MB / 1.814 GB, free: 10.85 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.945, allocations: 0 / 1.814 GB, free: 10.85 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.243e-06/1.945, allocations: 0 / 1.814 GB, free: 10.85 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0006425/1.946, allocations: 0 / 1.814 GB, free: 10.85 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1537 * Number of variables: 1537 Notification: Performance of Generate backend data structure: time 0.04937/1.995, allocations: 20.29 MB / 1.833 GB, free: 6.582 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.995, allocations: 8.031 kB / 1.833 GB, free: 6.574 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/2.012, allocations: 3.231 MB / 1.837 GB, free: 3.32 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03496/2.047, allocations: 17.92 MB / 1.854 GB, free: 1.656 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/2.048, allocations: 0.5307 MB / 1.855 GB, free: 1.125 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003235/2.051, allocations: 0.6914 MB / 1.855 GB, free: 444 kB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/2.081, allocations: 14.65 MB / 1.87 GB, free: 1.574 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/2.082, allocations: 11.88 kB / 1.87 GB, free: 1.562 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002604/2.084, allocations: 250.4 kB / 1.87 GB, free: 1.32 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/2.084, allocations: 148 kB / 1.87 GB, free: 1.176 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03371/2.118, allocations: 19.55 MB / 1.889 GB, free: 13.61 MB / 1.42 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.1127/2.231, allocations: 74.37 MB / 1.962 GB, free: 0.7461 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/2.249, allocations: 11.12 MB / 1.973 GB, free: 5.84 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/2.266, allocations: 9.326 MB / 1.982 GB, free: 12.52 MB / 1.514 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 evalFunc (simulation): time 0.06781/2.334, allocations: 31.68 MB / 2.013 GB, free: 12.59 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01716/2.351, allocations: 9.346 MB / 2.022 GB, free: 3.203 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02023/2.372, allocations: 5.843 MB / 2.027 GB, free: 13.53 MB / 1.561 GB Notification: Performance of pre-optimization done (n=399): time 3.227e-05/2.372, allocations: 4 kB / 2.028 GB, free: 13.52 MB / 1.561 GB Notification: Performance of matching and sorting (n=585): time 1.599/3.971, allocations: 202.5 MB / 2.225 GB, free: 0.7121 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/3.971, allocations: 115.2 kB / 2.225 GB, free: 0.712 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02347/3.994, allocations: 15.5 MB / 2.24 GB, free: 0.7071 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.00298/3.997, allocations: 175.2 kB / 2.241 GB, free: 0.707 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.005789/4.003, allocations: 6.481 MB / 2.247 GB, free: 0.7026 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.003662/4.007, allocations: 1.992 MB / 2.249 GB, free: 0.7021 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004875/4.012, allocations: 2.847 MB / 2.252 GB, free: 0.7007 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/4.012, allocations: 301.1 kB / 2.252 GB, free: 0.7004 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01687/4.029, allocations: 11.45 MB / 2.263 GB, free: 0.6944 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02043/4.049, allocations: 13.91 MB / 2.277 GB, free: 0.6856 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03886/4.088, allocations: 24.48 MB / 2.301 GB, free: 0.6668 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.491e-05/4.088, allocations: 12 kB / 2.301 GB, free: 0.6668 GB / 1.717 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.6409/4.729, allocations: 129.1 MB / 2.427 GB, free: 0.5415 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/4.729, allocations: 53.7 kB / 2.427 GB, free: 0.5415 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/4.729, allocations: 44 kB / 2.427 GB, free: 0.5414 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6353/5.364, allocations: 136.4 MB / 2.56 GB, free: 418.1 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/5.376, allocations: 2.173 MB / 2.562 GB, free: 415.9 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1673/5.544, allocations: 99.92 MB / 2.66 GB, free: 315.6 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/5.56, allocations: 0.9666 MB / 2.661 GB, free: 314.7 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00322/5.563, allocations: 0.7997 MB / 2.661 GB, free: 313.9 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02311/5.586, allocations: 14.07 MB / 2.675 GB, free: 299.8 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01886/5.605, allocations: 13.39 MB / 2.688 GB, free: 285.5 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0353/5.641, allocations: 23.47 MB / 2.711 GB, free: 261.3 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.015e-05/5.641, allocations: 12 kB / 2.711 GB, free: 261.3 MB / 1.717 GB Notification: Performance of matching and sorting (n=1226) (initialization_lambda0): time 0.6082/6.249, allocations: 127.6 MB / 2.836 GB, free: 133.6 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/6.249, allocations: 57.69 kB / 2.836 GB, free: 133.5 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-05/6.249, allocations: 44 kB / 2.836 GB, free: 133.5 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245/7.494, allocations: 136 MB / 2.969 GB, free: 0.6826 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/7.505, allocations: 2.151 MB / 2.971 GB, free: 0.6826 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1757/7.68, allocations: 104.6 MB / 3.073 GB, free: 0.6336 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/7.697, allocations: 1.013 MB / 3.074 GB, free: 0.6326 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003285/7.701, allocations: 0.7743 MB / 3.075 GB, free: 0.6319 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 801 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.004218/7.705, allocations: 0.6308 MB / 3.075 GB, free: 0.6313 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005036/7.71, allocations: 1.346 MB / 3.077 GB, free: 0.6307 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.205/7.915, allocations: 53.12 MB / 3.129 GB, free: 0.5797 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2073/8.122, allocations: 47.43 MB / 3.175 GB, free: 0.5336 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/8.122, allocations: 0 / 3.175 GB, free: 0.5336 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007735/8.13, allocations: 2.845 MB / 3.178 GB, free: 0.5315 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004504/8.135, allocations: 127.9 kB / 3.178 GB, free: 0.5314 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01262/8.147, allocations: 0.7725 MB / 3.179 GB, free: 0.5306 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005264/8.153, allocations: 0.9377 MB / 3.179 GB, free: 0.5297 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06146/8.214, allocations: 24.04 MB / 3.203 GB, free: 0.5066 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04796/8.262, allocations: 26.4 MB / 3.229 GB, free: 492.2 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01332/8.276, allocations: 8.232 MB / 3.237 GB, free: 484 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01505/8.291, allocations: 10.58 MB / 3.247 GB, free: 473.5 MB / 1.717 GB Notification: Performance of Backend: time 7.71e-07/8.291, allocations: 4 kB / 3.247 GB, free: 473.5 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.08171/8.372, allocations: 36.04 MB / 3.282 GB, free: 437.7 MB / 1.717 GB Notification: Performance of SimCode: time 0.05454/8.427, allocations: 32.99 MB / 3.314 GB, free: 404.9 MB / 1.717 GB Notification: Performance of Templates: time 1.591/10.02, allocations: 480 MB / 3.783 GB, free: 0.6588 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)