Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.System6.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.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.001346/0.001347, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.498/1.498, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.613/2.613, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002518, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.399/2.472, allocations: 0.5145 GB / 1.682 GB, free: 50.9 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09341/2.565, allocations: 73.18 MB / 1.753 GB, free: 41.62 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01921/2.585, allocations: 438.8 kB / 1.754 GB, free: 41.62 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01904/2.604, allocations: 6.035 MB / 1.76 GB, free: 39.84 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03955/2.643, allocations: 14.7 MB / 1.774 GB, free: 33.28 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02709/2.671, allocations: 10.57 MB / 1.784 GB, free: 26.79 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04799/2.719, allocations: 38.68 MB / 1.822 GB, free: 5.707 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02552/2.744, allocations: 12.54 MB / 1.834 GB, free: 9.223 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02718/2.771, allocations: 12.54 MB / 1.847 GB, free: 13.38 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02026/2.792, allocations: 9.466 MB / 1.856 GB, free: 4.582 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.009638/2.801, allocations: 1.273 MB / 1.857 GB, free: 3.309 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.022/2.823, allocations: 6.643 MB / 1.864 GB, free: 13.04 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.006705/2.83, allocations: 3.736 MB / 1.867 GB, free: 9.363 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.01777/2.848, allocations: 7.446 MB / 1.874 GB, free: 1.953 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.03876/2.887, allocations: 21.57 MB / 1.895 GB, free: 13.06 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/2.887, allocations: 0 / 1.895 GB, free: 13.06 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.232e-06/2.887, allocations: 0 / 1.895 GB, free: 13.06 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0006336/2.887, allocations: 4 kB / 1.895 GB, free: 13.05 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1945 * Number of variables: 1945 Notification: Performance of Generate backend data structure: time 0.03918/2.926, allocations: 15.14 MB / 1.91 GB, free: 13.9 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/2.927, allocations: 12.92 kB / 1.91 GB, free: 13.89 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/2.94, allocations: 2.396 MB / 1.913 GB, free: 11.48 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/2.969, allocations: 12.78 MB / 1.925 GB, free: 14.89 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/2.969, allocations: 0.5922 MB / 1.926 GB, free: 14.3 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/2.972, allocations: 0.7922 MB / 1.926 GB, free: 13.52 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/2.995, allocations: 8.937 MB / 1.935 GB, free: 4.301 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/2.995, allocations: 23.81 kB / 1.935 GB, free: 4.277 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009913/2.996, allocations: 326.9 kB / 1.936 GB, free: 3.961 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003291/2.997, allocations: 310.4 kB / 1.936 GB, free: 3.656 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/3.013, allocations: 7.344 MB / 1.943 GB, free: 12.3 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.08115/3.094, allocations: 43.22 MB / 1.985 GB, free: 14.6 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/3.104, allocations: 5.017 MB / 1.99 GB, free: 9.48 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/3.11, allocations: 2.528 MB / 1.993 GB, free: 6.949 MB / 1.467 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.03212/3.142, allocations: 10.88 MB / 2.003 GB, free: 11.69 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008437/3.151, allocations: 2.648 MB / 2.006 GB, free: 9.004 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005374/3.156, allocations: 415.1 kB / 2.006 GB, free: 8.598 MB / 1.482 GB Notification: Performance of pre-optimization done (n=431): time 4.023e-05/3.156, allocations: 0 / 2.006 GB, free: 8.598 MB / 1.482 GB Notification: Performance of matching and sorting (n=439): time 0.04826/3.204, allocations: 15.56 MB / 2.021 GB, free: 8.809 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/3.204, allocations: 312.5 kB / 2.022 GB, free: 8.441 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02284/3.227, allocations: 9.769 MB / 2.031 GB, free: 14.74 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/3.229, allocations: 137.7 kB / 2.031 GB, free: 14.6 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.006998/3.236, allocations: 5.549 MB / 2.037 GB, free: 9.059 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/3.238, allocations: 1.589 MB / 2.038 GB, free: 7.492 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004866/3.243, allocations: 1.417 MB / 2.04 GB, free: 6.066 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001048/3.243, allocations: 305.1 kB / 2.04 GB, free: 5.766 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006601/3.25, allocations: 2.643 MB / 2.043 GB, free: 3.109 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008414/3.258, allocations: 4.492 MB / 2.047 GB, free: 13.87 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/3.272, allocations: 6.644 MB / 2.053 GB, free: 6.582 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.079e-05/3.272, allocations: 12 kB / 2.053 GB, free: 6.57 MB / 1.529 GB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03218/3.304, allocations: 9.448 MB / 2.063 GB, free: 13.02 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/3.304, allocations: 24 kB / 2.063 GB, free: 13 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.4e-05/3.304, allocations: 40 kB / 2.063 GB, free: 12.96 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/3.315, allocations: 1.777 MB / 2.064 GB, free: 11.18 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/3.321, allocations: 1.385 MB / 2.066 GB, free: 9.789 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/3.334, allocations: 8.238 MB / 2.074 GB, free: 1.062 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/3.345, allocations: 452.4 kB / 2.074 GB, free: 0.6211 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/3.347, allocations: 299.9 kB / 2.075 GB, free: 336 kB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01309/3.36, allocations: 4.705 MB / 2.079 GB, free: 11.62 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008338/3.368, allocations: 4.387 MB / 2.083 GB, free: 6.484 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01309/3.381, allocations: 6.449 MB / 2.09 GB, free: 15.39 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.791e-05/3.382, allocations: 12 kB / 2.09 GB, free: 15.38 MB / 1.576 GB Notification: Performance of matching and sorting (n=882) (initialization_lambda0): time 0.02867/3.41, allocations: 9.098 MB / 2.099 GB, free: 6.168 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/3.41, allocations: 20 kB / 2.099 GB, free: 6.148 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-05/3.41, allocations: 44 kB / 2.099 GB, free: 6.105 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/3.419, allocations: 1.569 MB / 2.1 GB, free: 4.52 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006192/3.426, allocations: 1.346 MB / 2.102 GB, free: 3.172 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/3.44, allocations: 10.43 MB / 2.112 GB, free: 8.148 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009552/3.45, allocations: 485.7 kB / 2.112 GB, free: 7.676 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/3.452, allocations: 287.9 kB / 2.112 GB, free: 7.395 MB / 1.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 190 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conRadSup.conPIDRad.con1.y,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,radPumCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 751 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002672/3.454, allocations: 0.5776 MB / 2.113 GB, free: 6.809 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004619/3.459, allocations: 1.063 MB / 2.114 GB, free: 5.738 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/3.478, allocations: 6.384 MB / 2.12 GB, free: 15.31 MB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01176/3.49, allocations: 4.703 MB / 2.125 GB, free: 10.57 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/3.49, allocations: 7.875 kB / 2.125 GB, free: 10.57 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005715/3.495, allocations: 1.77 MB / 2.127 GB, free: 8.77 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00338/3.499, allocations: 107.9 kB / 2.127 GB, free: 8.664 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007545/3.506, allocations: 333.4 kB / 2.127 GB, free: 8.34 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/3.508, allocations: 359.3 kB / 2.127 GB, free: 7.988 MB / 1.607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01817/3.526, allocations: 5.888 MB / 2.133 GB, free: 2.152 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02003/3.546, allocations: 8.252 MB / 2.141 GB, free: 9.859 MB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004614/3.55, allocations: 2.221 MB / 2.143 GB, free: 7.637 MB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01384/3.564, allocations: 6.468 MB / 2.15 GB, free: 1.23 MB / 1.623 GB Notification: Performance of Backend: time 1.322e-06/3.564, allocations: 4 kB / 2.15 GB, free: 1.227 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.03932/3.604, allocations: 12.49 MB / 2.162 GB, free: 5.051 MB / 1.639 GB Notification: Performance of SimCode: time 0.7847/4.388, allocations: 24.67 MB / 2.186 GB, free: 0.6988 GB / 1.654 GB Notification: Performance of Templates: time 0.2967/4.685, allocations: 223.9 MB / 2.405 GB, free: 0.5219 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)