Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.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.Experimental.DHC.Examples.Steam.SingleBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.QFue_flow|bld.1..Q_flow|bld.3..Q_flow|pla.port_aSerHea.m_flow|bld.1..port_a.m_flow|bld.3..port_a.m_flow|pla.port_bSerHea.p|pla.port_aSerHea.p|bld.1..port_b.p|bld.3..port_b.p|bld.1..sta_a.T|bld.1..sta_b.T|bld.3..sta_a.T|bld.3..sta_b.T|pla.port_aSerHea.h_outflow|pla.port_bSerHea.h_outflow|bld.1..port_a.h_outflow|bld.1..port_b.h_outflow|pla.conPum.u_s|pla.conPum.u_m|pla.conBoi.u_s|pla.conBoi.u_m|pla.conPum.y|pla.conBoi.y",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler") translateModel(Buildings.Experimental.DHC.Examples.Steam.SingleBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.QFue_flow|bld.1..Q_flow|bld.3..Q_flow|pla.port_aSerHea.m_flow|bld.1..port_a.m_flow|bld.3..port_a.m_flow|pla.port_bSerHea.p|pla.port_aSerHea.p|bld.1..port_b.p|bld.3..port_b.p|bld.1..sta_a.T|bld.1..sta_b.T|bld.3..sta_a.T|bld.3..sta_b.T|pla.port_aSerHea.h_outflow|pla.port_bSerHea.h_outflow|bld.1..port_a.h_outflow|bld.1..port_b.h_outflow|pla.conPum.u_s|pla.conPum.u_m|pla.conBoi.u_s|pla.conBoi.u_m|pla.conPum.y|pla.conBoi.y",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001123/0.001123, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.18 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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Examples.Steam.SingleBoiler): time 0.3125/1.315, allocations: 298.5 MB / 1.459 GB, free: 8.266 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.09217/1.407, allocations: 66.91 MB / 1.524 GB, free: 5.176 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01028/1.418, allocations: 210.9 kB / 1.524 GB, free: 4.969 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/1.43, allocations: 4.068 MB / 1.528 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03705/1.467, allocations: 12.3 MB / 1.54 GB, free: 4.551 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01655/1.484, allocations: 5.911 MB / 1.546 GB, free: 14.66 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9937/2.477, allocations: 47.96 MB / 1.593 GB, free: 80.34 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02541/2.503, allocations: 14.75 MB / 1.607 GB, free: 78.8 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03106/2.534, allocations: 12 MB / 1.619 GB, free: 78.5 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02118/2.555, allocations: 10.22 MB / 1.629 GB, free: 76.78 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.005914/2.561, allocations: 1.454 MB / 1.63 GB, free: 76.78 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03764/2.599, allocations: 13.5 MB / 1.644 GB, free: 76.75 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.01157/2.611, allocations: 4.232 MB / 1.648 GB, free: 76.21 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.02843/2.639, allocations: 8.344 MB / 1.656 GB, free: 74.06 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.05566/2.695, allocations: 31.28 MB / 1.686 GB, free: 62.21 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/2.695, allocations: 3.688 kB / 1.686 GB, free: 62.21 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.126e-06/2.695, allocations: 0 / 1.686 GB, free: 62.21 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0009557/2.696, allocations: 0 / 1.686 GB, free: 62.21 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1790 * Number of variables: 1790 Notification: Performance of Generate backend data structure: time 0.05182/2.748, allocations: 16.41 MB / 1.703 GB, free: 48.41 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/2.748, allocations: 8.922 kB / 1.703 GB, free: 48.4 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03152/2.779, allocations: 4.455 MB / 1.707 GB, free: 44.09 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0516/2.831, allocations: 26.25 MB / 1.733 GB, free: 20.11 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006622/2.832, allocations: 0.541 MB / 1.733 GB, free: 19.57 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004091/2.836, allocations: 0.7377 MB / 1.734 GB, free: 18.83 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/2.87, allocations: 11.33 MB / 1.745 GB, free: 7.102 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/2.871, allocations: 36.39 kB / 1.745 GB, free: 7.082 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003412/2.874, allocations: 304 kB / 1.745 GB, free: 6.785 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/2.874, allocations: 244.9 kB / 1.745 GB, free: 6.543 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/2.903, allocations: 10 MB / 1.755 GB, free: 12.63 MB / 1.295 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.1062/3.01, allocations: 55.96 MB / 1.81 GB, free: 2.258 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/3.025, allocations: 6.104 MB / 1.816 GB, free: 12.14 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008327/3.034, allocations: 3.303 MB / 1.819 GB, free: 8.836 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02077/3.054, allocations: 7.443 MB / 1.826 GB, free: 0.8555 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01074/3.065, allocations: 3.537 MB / 1.83 GB, free: 13.29 MB / 1.373 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007327/3.072, allocations: 467.5 kB / 1.83 GB, free: 12.83 MB / 1.373 GB Notification: Performance of pre-optimization done (n=403): time 2.008e-05/3.073, allocations: 0 / 1.83 GB, free: 12.83 MB / 1.373 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pla.boi.vol.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=498): time 0.2997/3.372, allocations: 85.96 MB / 1.914 GB, free: 6.605 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/3.372, allocations: 133 kB / 1.914 GB, free: 6.457 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04353/3.416, allocations: 14.3 MB / 1.928 GB, free: 8.215 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001938/3.418, allocations: 145.7 kB / 1.928 GB, free: 8.066 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.01084/3.429, allocations: 6.054 MB / 1.934 GB, free: 2.02 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.003993/3.433, allocations: 1.775 MB / 1.936 GB, free: 264 kB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007337/3.44, allocations: 1.803 MB / 1.938 GB, free: 14.45 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0001037/3.44, allocations: 301.7 kB / 1.938 GB, free: 14.15 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/3.452, allocations: 5.067 MB / 1.943 GB, free: 9.074 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01677/3.469, allocations: 7.537 MB / 1.95 GB, free: 0.5391 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02777/3.496, allocations: 12.14 MB / 1.962 GB, free: 3.73 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-05/3.496, allocations: 16 kB / 1.962 GB, free: 3.715 MB / 1.498 GB Notification: Performance of matching and sorting (n=1084) (initialization): time 0.04059/3.537, allocations: 15.62 MB / 1.977 GB, free: 4.363 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/3.537, allocations: 32 kB / 1.977 GB, free: 4.332 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/3.537, allocations: 64.83 kB / 1.978 GB, free: 4.27 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/3.549, allocations: 3.66 MB / 1.981 GB, free: 0.5859 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007322/3.556, allocations: 1.606 MB / 1.983 GB, free: 15.08 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03744/3.594, allocations: 28.31 MB / 2.01 GB, free: 1.641 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/3.608, allocations: 0.7464 MB / 2.011 GB, free: 0.8945 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/3.61, allocations: 371.9 kB / 2.011 GB, free: 0.5312 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02246/3.633, allocations: 9.579 MB / 2.021 GB, free: 6.938 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0135/3.646, allocations: 7.397 MB / 2.028 GB, free: 14.54 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02261/3.669, allocations: 11.89 MB / 2.04 GB, free: 1.98 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.713e-05/3.669, allocations: 16 kB / 2.04 GB, free: 1.965 MB / 1.576 GB Notification: Performance of matching and sorting (n=1084) (initialization_lambda0): time 0.03856/3.707, allocations: 15.21 MB / 2.054 GB, free: 3.023 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/3.708, allocations: 32 kB / 2.055 GB, free: 2.992 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/3.708, allocations: 60 kB / 2.055 GB, free: 2.934 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/3.718, allocations: 3.19 MB / 2.058 GB, free: 15.72 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/3.726, allocations: 1.625 MB / 2.059 GB, free: 14.2 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03742/3.763, allocations: 27.9 MB / 2.087 GB, free: 1.156 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/3.779, allocations: 0.7652 MB / 2.087 GB, free: 404 kB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/3.781, allocations: 371.9 kB / 2.088 GB, free: 32 kB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 279 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.bld[1].QHea.nextTimeEvent,$whenCondition3,$PRE.bld[2].QHea.nextTimeEvent,$whenCondition2,$PRE.bld[3].QHea.nextTimeEvent,$whenCondition1,bld[3].QHea.nextTimeEventScaled,$PRE.bld[3].QHea.nextTimeEventScaled,bld[3].QHea.nextTimeEvent,bld[2].QHea.nextTimeEventScaled,$PRE.bld[2].QHea.nextTimeEventScaled,bld[2].QHea.nextTimeEvent,bld[1].QHea.nextTimeEventScaled,$PRE.bld[1].QHea.nextTimeEventScaled,bld[1].QHea.nextTimeEvent,pla.conBoi.I.trigger_internal,pla.conPum.I.trigger_internal,bld[3].IntEHea.local_reset,bld[2].IntEHea.local_reset,bld[1].IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (820): * Single equations (assignments): 801 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(5,36), (2,8), (4,31), (2,8), (2,8), (2,8), (2,8), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.003843/3.785, allocations: 0.6378 MB / 2.088 GB, free: 15.49 MB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006036/3.791, allocations: 1.126 MB / 2.089 GB, free: 14.35 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03999/3.831, allocations: 12.09 MB / 2.101 GB, free: 2.16 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03189/3.863, allocations: 10.05 MB / 2.111 GB, free: 7.957 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/3.863, allocations: 0 / 2.111 GB, free: 7.957 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01006/3.873, allocations: 2.47 MB / 2.113 GB, free: 5.453 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005837/3.879, allocations: 136 kB / 2.114 GB, free: 5.32 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01274/3.892, allocations: 0.6046 MB / 2.114 GB, free: 4.715 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/3.893, allocations: 362.8 kB / 2.114 GB, free: 4.359 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03877/3.932, allocations: 11.72 MB / 2.126 GB, free: 8.625 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03625/3.968, allocations: 14.01 MB / 2.14 GB, free: 10.46 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008764/3.977, allocations: 4.131 MB / 2.144 GB, free: 6.293 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.02534/4.002, allocations: 9.93 MB / 2.153 GB, free: 12.42 MB / 1.701 GB Notification: Performance of Backend: time 1.172e-06/4.003, allocations: 0 / 2.153 GB, free: 12.42 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.848/4.851, allocations: 20.63 MB / 2.173 GB, free: 0.7156 GB / 1.701 GB Notification: Performance of SimCode: time 0.07794/4.929, allocations: 32.13 MB / 2.205 GB, free: 0.7065 GB / 1.701 GB Notification: Performance of Templates: time 0.5133/5.442, allocations: 394.1 MB / 2.59 GB, free: 371.3 MB / 1.701 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.sim & ./Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Examples.Steam.SingleBoiler.pipe 2>&1)