Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 112.2 kB / 16.42 MB, free: 6.441 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.001054/0.001054, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.88 kB / 1.055 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7136, allocations: 157.4 MB / 1.209 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.3093/1.023, allocations: 357.8 MB / 1.558 GB, free: 6.555 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.748/1.771, allocations: 75.84 MB / 1.632 GB, free: 61.03 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01759/1.789, allocations: 437.8 kB / 1.632 GB, free: 61.02 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01859/1.807, allocations: 6.47 MB / 1.639 GB, free: 60.9 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04037/1.848, allocations: 14.29 MB / 1.653 GB, free: 60.34 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.025/1.873, allocations: 9.841 MB / 1.662 GB, free: 60.06 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09017/1.963, allocations: 71.04 MB / 1.732 GB, free: 27.36 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02745/1.99, allocations: 18.61 MB / 1.75 GB, free: 9.332 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03565/2.026, allocations: 16.32 MB / 1.766 GB, free: 9.938 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02998/2.056, allocations: 15.1 MB / 1.781 GB, free: 11.95 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.007751/2.064, allocations: 1.75 MB / 1.782 GB, free: 10.2 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02285/2.087, allocations: 6.013 MB / 1.788 GB, free: 4.453 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01139/2.098, allocations: 5.831 MB / 1.794 GB, free: 14.84 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02511/2.123, allocations: 10.24 MB / 1.804 GB, free: 4.781 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.04964/2.173, allocations: 28.42 MB / 1.832 GB, free: 9.398 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/2.173, allocations: 0 / 1.832 GB, free: 9.398 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.583e-06/2.173, allocations: 4 kB / 1.832 GB, free: 9.395 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0008752/2.174, allocations: 0 / 1.832 GB, free: 9.395 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1791 * Number of variables: 1791 Notification: Performance of Generate backend data structure: time 0.06233/2.236, allocations: 21.65 MB / 1.853 GB, free: 3.777 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/2.236, allocations: 8.031 kB / 1.853 GB, free: 3.77 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/2.255, allocations: 3.202 MB / 1.856 GB, free: 0.543 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04236/2.298, allocations: 19.3 MB / 1.875 GB, free: 13.52 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008032/2.298, allocations: 0.5912 MB / 1.875 GB, free: 12.93 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003893/2.302, allocations: 0.7891 MB / 1.876 GB, free: 12.14 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03716/2.339, allocations: 15.57 MB / 1.891 GB, free: 12.35 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/2.34, allocations: 23.78 kB / 1.891 GB, free: 12.33 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/2.343, allocations: 288 kB / 1.892 GB, free: 12.05 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/2.343, allocations: 188 kB / 1.892 GB, free: 11.86 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03754/2.381, allocations: 19.95 MB / 1.911 GB, free: 7.895 MB / 1.436 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.1298/2.51, allocations: 78.57 MB / 1.988 GB, free: 6.676 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/2.531, allocations: 11.15 MB / 1.999 GB, free: 11.75 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01542/2.546, allocations: 9.361 MB / 2.008 GB, free: 2.383 MB / 1.529 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.06657/2.613, allocations: 32.59 MB / 2.04 GB, free: 1.445 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0178/2.631, allocations: 9.355 MB / 2.049 GB, free: 8.059 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02148/2.652, allocations: 5.729 MB / 2.055 GB, free: 2.488 MB / 1.576 GB Notification: Performance of pre-optimization done (n=433): time 2.243e-05/2.652, allocations: 0 / 2.055 GB, free: 2.488 MB / 1.576 GB Notification: Performance of matching and sorting (n=617): time 1.549/4.201, allocations: 182.8 MB / 2.233 GB, free: 0.7077 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/4.201, allocations: 117.3 kB / 2.233 GB, free: 0.7076 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0247/4.226, allocations: 16.3 MB / 2.249 GB, free: 0.6999 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003251/4.229, allocations: 191.1 kB / 2.249 GB, free: 0.6997 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.007546/4.237, allocations: 7.111 MB / 2.256 GB, free: 0.695 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.00405/4.241, allocations: 2.101 MB / 2.258 GB, free: 0.6945 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00781/4.249, allocations: 2.935 MB / 2.261 GB, free: 0.693 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/4.249, allocations: 305.1 kB / 2.261 GB, free: 0.6927 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01898/4.268, allocations: 11.44 MB / 2.273 GB, free: 0.6866 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02269/4.291, allocations: 14.1 MB / 2.286 GB, free: 0.6776 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04176/4.333, allocations: 24.76 MB / 2.311 GB, free: 0.6555 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.26e-05/4.333, allocations: 16 kB / 2.311 GB, free: 0.6555 GB / 1.717 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.6078/4.94, allocations: 115.8 MB / 2.424 GB, free: 0.5428 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/4.941, allocations: 49.7 kB / 2.424 GB, free: 0.5427 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-05/4.941, allocations: 52 kB / 2.424 GB, free: 0.5427 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6244/5.565, allocations: 117.9 MB / 2.539 GB, free: 437.8 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/5.577, allocations: 2.317 MB / 2.541 GB, free: 435.5 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1446/5.722, allocations: 81.87 MB / 2.621 GB, free: 353.3 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0179/5.74, allocations: 0.9502 MB / 2.622 GB, free: 352.3 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003402/5.743, allocations: 0.8114 MB / 2.623 GB, free: 351.5 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02524/5.769, allocations: 14.29 MB / 2.637 GB, free: 337.2 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02066/5.789, allocations: 13.59 MB / 2.65 GB, free: 322.6 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03878/5.828, allocations: 23.73 MB / 2.673 GB, free: 298.1 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-05/5.828, allocations: 16 kB / 2.673 GB, free: 298.1 MB / 1.717 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.5902/6.418, allocations: 114.2 MB / 2.785 GB, free: 183.8 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/6.418, allocations: 54.64 kB / 2.785 GB, free: 183.7 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.008e-05/6.419, allocations: 52 kB / 2.785 GB, free: 183.7 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6027/7.021, allocations: 117.6 MB / 2.9 GB, free: 66.1 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/7.032, allocations: 2.301 MB / 2.902 GB, free: 63.8 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8498/7.882, allocations: 86.06 MB / 2.986 GB, free: 0.6711 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01937/7.902, allocations: 0.9963 MB / 2.987 GB, free: 0.6709 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004118/7.906, allocations: 0.786 MB / 2.988 GB, free: 0.6709 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (909): * Single equations (assignments): 891 * 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 {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004164/7.91, allocations: 0.6732 MB / 2.988 GB, free: 0.6705 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005365/7.915, allocations: 1.436 MB / 2.99 GB, free: 0.6705 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2139/8.129, allocations: 49.05 MB / 3.038 GB, free: 0.6595 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1912/8.32, allocations: 43.29 MB / 3.08 GB, free: 0.6225 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/8.321, allocations: 0 / 3.08 GB, free: 0.6225 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009329/8.33, allocations: 2.972 MB / 3.083 GB, free: 0.6204 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005551/8.335, allocations: 128 kB / 3.083 GB, free: 0.6203 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01444/8.35, allocations: 0.7626 MB / 3.084 GB, free: 0.6195 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005612/8.356, allocations: 0.8988 MB / 3.085 GB, free: 0.6187 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06651/8.422, allocations: 23.54 MB / 3.108 GB, free: 0.596 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05213/8.474, allocations: 26.59 MB / 3.134 GB, free: 0.5703 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01444/8.489, allocations: 8.245 MB / 3.142 GB, free: 0.5622 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01704/8.506, allocations: 11.12 MB / 3.152 GB, free: 0.5514 GB / 1.717 GB Notification: Performance of Backend: time 6.51e-07/8.506, allocations: 0 / 3.152 GB, free: 0.5514 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.08133/8.587, allocations: 35.65 MB / 3.187 GB, free: 0.5169 GB / 1.717 GB Notification: Performance of SimCode: time 0.064/8.651, allocations: 35.19 MB / 3.222 GB, free: 494.5 MB / 1.717 GB Notification: Performance of Templates: time 1.638/10.29, allocations: 480.8 MB / 3.691 GB, free: 0.6928 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)