Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System4.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001792/0.001792, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.88 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.734/2.892, allocations: 0.5124 GB / 1.601 GB, free: 85.97 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.117/3.009, allocations: 70.77 MB / 1.67 GB, free: 85.31 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02305/3.032, allocations: 432.2 kB / 1.671 GB, free: 85.31 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02053/3.053, allocations: 5.131 MB / 1.676 GB, free: 85.23 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.05102/3.104, allocations: 14.32 MB / 1.69 GB, free: 84.67 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.0315/3.136, allocations: 10.23 MB / 1.7 GB, free: 84.36 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.04981/3.185, allocations: 32.43 MB / 1.731 GB, free: 84.01 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02265/3.208, allocations: 12.23 MB / 1.743 GB, free: 76.96 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03406/3.242, allocations: 12.4 MB / 1.755 GB, free: 71.61 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02085/3.263, allocations: 9.174 MB / 1.764 GB, free: 67.02 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.005868/3.269, allocations: 1.212 MB / 1.765 GB, free: 66.08 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02316/3.292, allocations: 6.419 MB / 1.772 GB, free: 60.33 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.009898/3.302, allocations: 3.359 MB / 1.775 GB, free: 57.11 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02394/3.326, allocations: 6.897 MB / 1.782 GB, free: 50.34 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04549/3.372, allocations: 19.86 MB / 1.801 GB, free: 31.24 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/3.372, allocations: 4 kB / 1.801 GB, free: 31.24 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.463e-06/3.372, allocations: 0 / 1.801 GB, free: 31.24 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008408/3.372, allocations: 0 / 1.801 GB, free: 31.24 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1873 * Number of variables: 1873 Notification: Performance of Generate backend data structure: time 0.03867/3.411, allocations: 13.47 MB / 1.814 GB, free: 17.86 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/3.411, allocations: 8.031 kB / 1.814 GB, free: 17.85 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/3.424, allocations: 2.216 MB / 1.816 GB, free: 15.62 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/3.449, allocations: 10.49 MB / 1.827 GB, free: 5.52 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/3.449, allocations: 0.5682 MB / 1.827 GB, free: 4.953 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/3.451, allocations: 0.763 MB / 1.828 GB, free: 4.195 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/3.468, allocations: 8.683 MB / 1.836 GB, free: 11.27 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/3.468, allocations: 17.38 kB / 1.836 GB, free: 11.27 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008823/3.469, allocations: 311.2 kB / 1.837 GB, free: 10.96 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/3.47, allocations: 306 kB / 1.837 GB, free: 10.66 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/3.486, allocations: 7.166 MB / 1.844 GB, free: 3.551 MB / 1.326 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.07581/3.561, allocations: 41.49 MB / 1.885 GB, free: 8.039 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008913/3.57, allocations: 4.788 MB / 1.889 GB, free: 3.184 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/3.575, allocations: 2.45 MB / 1.892 GB, free: 0.7383 MB / 1.373 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.03035/3.605, allocations: 10.65 MB / 1.902 GB, free: 5.719 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007997/3.613, allocations: 2.609 MB / 1.905 GB, free: 3.074 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005827/3.619, allocations: 360.1 kB / 1.905 GB, free: 2.719 MB / 1.389 GB Notification: Performance of pre-optimization done (n=415): time 2.736e-05/3.619, allocations: 0 / 1.905 GB, free: 2.719 MB / 1.389 GB Notification: Performance of matching and sorting (n=423): time 0.0528/3.672, allocations: 14.99 MB / 1.92 GB, free: 3.516 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/3.672, allocations: 285.5 kB / 1.92 GB, free: 3.184 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/3.694, allocations: 8.425 MB / 1.928 GB, free: 10.79 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/3.696, allocations: 137.7 kB / 1.928 GB, free: 10.64 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.007625/3.703, allocations: 5.041 MB / 1.933 GB, free: 5.586 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.003034/3.706, allocations: 1.464 MB / 1.935 GB, free: 4.137 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004892/3.711, allocations: 1.159 MB / 1.936 GB, free: 2.969 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.000122/3.711, allocations: 309.1 kB / 1.936 GB, free: 2.664 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006043/3.717, allocations: 2.242 MB / 1.938 GB, free: 416 kB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00761/3.725, allocations: 3.925 MB / 1.942 GB, free: 11.79 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/3.738, allocations: 5.875 MB / 1.948 GB, free: 5.465 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-05/3.738, allocations: 12 kB / 1.948 GB, free: 5.453 MB / 1.436 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02674/3.765, allocations: 7.984 MB / 1.956 GB, free: 13.62 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/3.765, allocations: 20 kB / 1.956 GB, free: 13.6 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.882e-05/3.765, allocations: 40 kB / 1.956 GB, free: 13.56 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009659/3.775, allocations: 1.774 MB / 1.957 GB, free: 11.79 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006292/3.781, allocations: 1.256 MB / 1.959 GB, free: 10.61 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/3.794, allocations: 8.284 MB / 1.967 GB, free: 1.883 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/3.804, allocations: 389.2 kB / 1.967 GB, free: 1.504 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/3.806, allocations: 271.9 kB / 1.967 GB, free: 1.238 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01264/3.819, allocations: 4.044 MB / 1.971 GB, free: 13.19 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007646/3.826, allocations: 3.808 MB / 1.975 GB, free: 8.688 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01172/3.838, allocations: 5.63 MB / 1.98 GB, free: 2.609 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.038e-05/3.838, allocations: 15.94 kB / 1.98 GB, free: 2.594 MB / 1.467 GB Notification: Performance of matching and sorting (n=725) (initialization_lambda0): time 0.02546/3.864, allocations: 7.897 MB / 1.988 GB, free: 10.84 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/3.864, allocations: 24 kB / 1.988 GB, free: 10.82 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-05/3.864, allocations: 40 kB / 1.988 GB, free: 10.78 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008836/3.873, allocations: 1.572 MB / 1.99 GB, free: 9.199 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005776/3.878, allocations: 1.225 MB / 1.991 GB, free: 8.051 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/3.893, allocations: 10.42 MB / 2.001 GB, free: 13.13 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009102/3.902, allocations: 414.3 kB / 2.002 GB, free: 12.73 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/3.904, allocations: 263.9 kB / 2.002 GB, free: 12.47 MB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 660 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003342/3.907, allocations: 0.539 MB / 2.002 GB, free: 12 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00507/3.913, allocations: 0.9143 MB / 2.003 GB, free: 11.08 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/3.93, allocations: 6.244 MB / 2.009 GB, free: 4.832 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/3.94, allocations: 4.644 MB / 2.014 GB, free: 192 kB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/3.94, allocations: 0 / 2.014 GB, free: 192 kB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005887/3.946, allocations: 1.575 MB / 2.015 GB, free: 14.58 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003242/3.949, allocations: 99.98 kB / 2.015 GB, free: 14.48 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007486/3.957, allocations: 291.5 kB / 2.016 GB, free: 14.2 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/3.958, allocations: 339.2 kB / 2.016 GB, free: 13.87 MB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01659/3.974, allocations: 5.784 MB / 2.022 GB, free: 8.133 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01746/3.992, allocations: 7.977 MB / 2.03 GB, free: 112 kB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004184/3.996, allocations: 2.173 MB / 2.032 GB, free: 13.93 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.01308/4.009, allocations: 5.595 MB / 2.037 GB, free: 8.371 MB / 1.529 GB Notification: Performance of Backend: time 1.683e-06/4.009, allocations: 0 / 2.037 GB, free: 8.371 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.03842/4.048, allocations: 11.12 MB / 2.048 GB, free: 13.9 MB / 1.545 GB Notification: Performance of SimCode: time 0.05611/4.104, allocations: 22.24 MB / 2.07 GB, free: 7.879 MB / 1.561 GB Notification: Performance of Templates: time 1.503/5.606, allocations: 205.3 MB / 2.27 GB, free: 0.7043 GB / 1.654 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)