Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_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_10_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.001459/0.001459, allocations: 113.5 kB / 16.42 MB, free: 6.469 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.001606/0.001606, allocations: 186.7 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7135, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.3376/1.051, allocations: 357.8 MB / 1.517 GB, free: 12.84 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7597/1.811, allocations: 75.85 MB / 1.591 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/1.825, allocations: 432.6 kB / 1.591 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01702/1.842, allocations: 6.467 MB / 1.598 GB, free: 61.86 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03565/1.878, allocations: 14.29 MB / 1.612 GB, free: 61.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/1.901, allocations: 9.845 MB / 1.621 GB, free: 61.02 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08527/1.986, allocations: 71.03 MB / 1.691 GB, free: 54.91 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02341/2.009, allocations: 18.61 MB / 1.709 GB, free: 41.63 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03041/2.04, allocations: 16.32 MB / 1.725 GB, free: 27.5 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02353/2.063, allocations: 15.09 MB / 1.739 GB, free: 13.52 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.006485/2.07, allocations: 1.757 MB / 1.741 GB, free: 11.77 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/2.087, allocations: 6.013 MB / 1.747 GB, free: 6.023 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.007724/2.095, allocations: 5.83 MB / 1.753 GB, free: 420 kB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02089/2.116, allocations: 10.24 MB / 1.763 GB, free: 6.344 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04106/2.157, allocations: 28.42 MB / 1.79 GB, free: 10.96 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/2.157, allocations: 4 kB / 1.79 GB, free: 10.96 MB / 1.326 GB Notification: Performance of FrontEnd: time 1.823e-06/2.157, allocations: 0 / 1.79 GB, free: 10.96 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0007323/2.158, allocations: 0 / 1.79 GB, free: 10.96 MB / 1.326 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.05825/2.216, allocations: 21.65 MB / 1.812 GB, free: 5.344 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/2.216, allocations: 12.62 kB / 1.812 GB, free: 5.332 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/2.234, allocations: 3.191 MB / 1.815 GB, free: 2.117 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04009/2.274, allocations: 19.3 MB / 1.834 GB, free: 15.1 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005972/2.275, allocations: 0.5879 MB / 1.834 GB, free: 14.51 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003313/2.278, allocations: 0.7918 MB / 1.835 GB, free: 13.72 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/2.307, allocations: 15.56 MB / 1.85 GB, free: 13.93 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/2.307, allocations: 15.84 kB / 1.85 GB, free: 13.91 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/2.308, allocations: 291.1 kB / 1.85 GB, free: 13.63 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/2.308, allocations: 191.9 kB / 1.851 GB, free: 13.44 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0341/2.343, allocations: 19.95 MB / 1.87 GB, free: 9.469 MB / 1.404 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.1179/2.46, allocations: 78.56 MB / 1.947 GB, free: 8.316 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/2.481, allocations: 11.16 MB / 1.958 GB, free: 13.38 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01585/2.497, allocations: 9.357 MB / 1.967 GB, free: 4.02 MB / 1.498 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.06827/2.565, allocations: 32.59 MB / 1.999 GB, free: 3.094 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.017/2.582, allocations: 9.351 MB / 2.008 GB, free: 9.711 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02076/2.603, allocations: 5.735 MB / 2.013 GB, free: 4.133 MB / 1.545 GB Notification: Performance of pre-optimization done (n=433): time 2.263e-05/2.603, allocations: 0 / 2.013 GB, free: 4.133 MB / 1.545 GB Notification: Performance of matching and sorting (n=617): time 1.508/4.111, allocations: 182.8 MB / 2.192 GB, free: 0.7282 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/4.111, allocations: 116.6 kB / 2.192 GB, free: 0.7281 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/4.132, allocations: 16.3 MB / 2.208 GB, free: 0.723 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.002877/4.135, allocations: 180.5 kB / 2.208 GB, free: 0.7229 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.005521/4.141, allocations: 7.107 MB / 2.215 GB, free: 0.7188 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.00361/4.144, allocations: 2.112 MB / 2.217 GB, free: 0.7185 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005196/4.15, allocations: 2.925 MB / 2.22 GB, free: 0.7177 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.55e-05/4.15, allocations: 305.1 kB / 2.22 GB, free: 0.7174 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01767/4.167, allocations: 11.46 MB / 2.231 GB, free: 0.713 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01939/4.187, allocations: 14.1 MB / 2.245 GB, free: 0.704 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03947/4.226, allocations: 24.75 MB / 2.269 GB, free: 0.6883 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-05/4.226, allocations: 26.95 kB / 2.269 GB, free: 0.6883 GB / 1.701 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.6106/4.837, allocations: 115.8 MB / 2.382 GB, free: 0.5765 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/4.837, allocations: 57.64 kB / 2.383 GB, free: 0.5764 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.871e-05/4.837, allocations: 52 kB / 2.383 GB, free: 0.5764 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6223/5.459, allocations: 117.9 MB / 2.498 GB, free: 472.4 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/5.472, allocations: 2.313 MB / 2.5 GB, free: 470 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1415/5.613, allocations: 81.87 MB / 2.58 GB, free: 387.8 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/5.634, allocations: 0.9463 MB / 2.581 GB, free: 386.9 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005552/5.64, allocations: 0.8114 MB / 2.582 GB, free: 386 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0273/5.667, allocations: 14.31 MB / 2.596 GB, free: 371.7 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02089/5.688, allocations: 13.58 MB / 2.609 GB, free: 357.1 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03844/5.726, allocations: 23.73 MB / 2.632 GB, free: 332.6 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.916e-05/5.726, allocations: 12 kB / 2.632 GB, free: 332.6 MB / 1.701 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.5959/6.322, allocations: 114.2 MB / 2.744 GB, free: 218.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/6.322, allocations: 65.86 kB / 2.744 GB, free: 218.2 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/6.323, allocations: 52 kB / 2.744 GB, free: 218.2 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6089/6.931, allocations: 117.6 MB / 2.859 GB, free: 100.6 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/6.943, allocations: 2.302 MB / 2.861 GB, free: 98.3 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8335/7.776, allocations: 86.07 MB / 2.945 GB, free: 0.6959 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01824/7.795, allocations: 0.993 MB / 2.946 GB, free: 0.6959 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/7.798, allocations: 0.7844 MB / 2.947 GB, free: 0.6959 GB / 1.701 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.004041/7.802, allocations: 0.6744 MB / 2.947 GB, free: 0.6957 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005274/7.808, allocations: 1.435 MB / 2.949 GB, free: 0.6957 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2128/8.021, allocations: 49.04 MB / 2.997 GB, free: 0.6896 GB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1944/8.215, allocations: 43.28 MB / 3.039 GB, free: 0.6733 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.148e-05/8.215, allocations: 0 / 3.039 GB, free: 0.6733 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01024/8.225, allocations: 2.971 MB / 3.042 GB, free: 0.6712 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005933/8.231, allocations: 132 kB / 3.042 GB, free: 0.6711 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01487/8.246, allocations: 0.7589 MB / 3.043 GB, free: 0.6703 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005641/8.252, allocations: 0.8988 MB / 3.043 GB, free: 0.6694 GB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06793/8.32, allocations: 23.55 MB / 3.066 GB, free: 0.6467 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05267/8.372, allocations: 26.59 MB / 3.092 GB, free: 0.6212 GB / 1.701 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01421/8.387, allocations: 8.249 MB / 3.1 GB, free: 0.6131 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.01852/8.405, allocations: 11.12 MB / 3.111 GB, free: 0.6023 GB / 1.701 GB Notification: Performance of Backend: time 7.72e-07/8.405, allocations: 0 / 3.111 GB, free: 0.6023 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.08359/8.489, allocations: 35.65 MB / 3.146 GB, free: 0.5678 GB / 1.701 GB Notification: Performance of SimCode: time 0.06248/8.551, allocations: 35.19 MB / 3.181 GB, free: 0.5338 GB / 1.701 GB Notification: Performance of Templates: time 0.548/9.099, allocations: 480.9 MB / 3.65 GB, free: 67.52 MB / 1.701 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)