Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.588/1.588, allocations: 287.4 MB / 303.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 181.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 0.6304 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007764, allocations: 90.31 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005642/0.0005643, allocations: 14.09 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.206/1.401, allocations: 482.6 MB / 1.451 GB, free: 49.29 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.08165/1.483, allocations: 69.14 MB / 1.518 GB, free: 48.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01411/1.497, allocations: 362.4 kB / 1.518 GB, free: 48.09 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01275/1.51, allocations: 3.557 MB / 1.522 GB, free: 48.02 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.04283/1.553, allocations: 10.55 MB / 1.532 GB, free: 47.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02608/1.579, allocations: 8.817 MB / 1.541 GB, free: 47.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03613/1.615, allocations: 35.49 MB / 1.575 GB, free: 41.38 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01702/1.632, allocations: 9.764 MB / 1.585 GB, free: 37.81 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01862/1.651, allocations: 9.32 MB / 1.594 GB, free: 34.3 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/1.664, allocations: 8.126 MB / 1.602 GB, free: 31.1 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003552/1.668, allocations: 424.9 kB / 1.602 GB, free: 31.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/1.683, allocations: 3.948 MB / 1.606 GB, free: 30.04 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.003267/1.686, allocations: 2.373 MB / 1.609 GB, free: 28.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004348/1.691, allocations: 2.422 MB / 1.611 GB, free: 27.13 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/1.705, allocations: 14.87 MB / 1.625 GB, free: 14.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.705, allocations: 4 kB / 1.625 GB, free: 14.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.714e-06/1.705, allocations: 0 / 1.625 GB, free: 14.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003281/1.706, allocations: 0 / 1.625 GB, free: 14.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.01768/1.723, allocations: 11 MB / 1.636 GB, free: 4.539 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.723, allocations: 8.031 kB / 1.636 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009355/1.733, allocations: 2.074 MB / 1.638 GB, free: 2.461 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/1.752, allocations: 10.32 MB / 1.648 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/1.753, allocations: 0.5747 MB / 1.649 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/1.754, allocations: 0.7727 MB / 1.65 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/1.769, allocations: 8.655 MB / 1.658 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/1.769, allocations: 14.75 kB / 1.658 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006377/1.769, allocations: 312.3 kB / 1.658 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/1.77, allocations: 288.5 kB / 1.659 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/1.782, allocations: 7.052 MB / 1.666 GB, free: 14.97 MB / 0.9792 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.05937/1.841, allocations: 41.29 MB / 1.706 GB, free: 11.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/1.848, allocations: 4.65 MB / 1.71 GB, free: 8.137 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/1.852, allocations: 2.412 MB / 1.713 GB, free: 6.59 MB / 1.01 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.02358/1.876, allocations: 10.4 MB / 1.723 GB, free: 14.19 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004743/1.881, allocations: 2.529 MB / 1.725 GB, free: 11.62 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003971/1.885, allocations: 471.8 kB / 1.726 GB, free: 11.16 MB / 1.026 GB Notification: Performance of pre-optimization done (n=405): time 1.394e-05/1.885, allocations: 0 / 1.726 GB, free: 11.16 MB / 1.026 GB Notification: Performance of matching and sorting (n=414): time 0.03865/1.923, allocations: 14.92 MB / 1.74 GB, free: 11.99 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.924, allocations: 0.5811 MB / 1.741 GB, free: 11.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/1.938, allocations: 8.184 MB / 1.749 GB, free: 3.117 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009658/1.939, allocations: 137.7 kB / 1.749 GB, free: 2.977 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004783/1.944, allocations: 5.047 MB / 1.754 GB, free: 13.91 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.945, allocations: 1.433 MB / 1.755 GB, free: 12.49 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006211/1.946, allocations: 111.3 kB / 1.756 GB, free: 12.39 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003655/1.946, allocations: 0.5182 MB / 1.756 GB, free: 11.86 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/1.951, allocations: 2.174 MB / 1.758 GB, free: 9.68 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/1.957, allocations: 3.999 MB / 1.762 GB, free: 4.922 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009176/1.966, allocations: 5.768 MB / 1.768 GB, free: 14.56 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/1.966, allocations: 12 kB / 1.768 GB, free: 14.55 MB / 1.073 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01932/1.986, allocations: 8.114 MB / 1.776 GB, free: 6.328 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008017/1.987, allocations: 1.297 MB / 1.777 GB, free: 4.469 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/1.987, allocations: 47.94 kB / 1.777 GB, free: 4.422 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009076/1.996, allocations: 1.854 MB / 1.779 GB, free: 2.562 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005293/2.001, allocations: 1.24 MB / 1.78 GB, free: 1.32 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/2.011, allocations: 7.863 MB / 1.788 GB, free: 8.992 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008686/2.019, allocations: 0.7657 MB / 1.788 GB, free: 8.227 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009173/2.02, allocations: 278.6 kB / 1.789 GB, free: 7.957 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/2.02, allocations: 4 kB / 1.789 GB, free: 7.953 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01693/2.037, allocations: 6.958 MB / 1.795 GB, free: 0.9023 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/2.037, allocations: 51.98 kB / 1.796 GB, free: 0.8516 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/2.046, allocations: 1.714 MB / 1.797 GB, free: 15.13 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/2.051, allocations: 1.182 MB / 1.798 GB, free: 13.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/2.064, allocations: 9.795 MB / 1.808 GB, free: 3.617 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/2.073, allocations: 0.737 MB / 1.809 GB, free: 2.883 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/2.074, allocations: 259.9 kB / 1.809 GB, free: 2.629 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conBoiRet.conPID.con1.y,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiSigCon.u,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 652 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005791/2.08, allocations: 2.303 MB / 1.811 GB, free: 324 kB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002685/2.083, allocations: 0.905 MB / 1.812 GB, free: 15.4 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/2.097, allocations: 6.151 MB / 1.818 GB, free: 9.199 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009301/2.107, allocations: 4.548 MB / 1.822 GB, free: 4.617 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/2.107, allocations: 0 / 1.822 GB, free: 4.617 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005174/2.112, allocations: 1.671 MB / 1.824 GB, free: 2.918 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002409/2.114, allocations: 99.98 kB / 1.824 GB, free: 2.82 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/2.122, allocations: 0.6277 MB / 1.825 GB, free: 2.191 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000934/2.123, allocations: 335 kB / 1.825 GB, free: 1.863 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01595/2.139, allocations: 5.769 MB / 1.831 GB, free: 12.14 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01446/2.153, allocations: 7.859 MB / 1.838 GB, free: 4.23 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003464/2.157, allocations: 2.129 MB / 1.841 GB, free: 2.098 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01025/2.167, allocations: 5.39 MB / 1.846 GB, free: 12.74 MB / 1.151 GB Notification: Performance of Backend: time 6.91e-07/2.167, allocations: 0 / 1.846 GB, free: 12.74 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02803/2.195, allocations: 11.29 MB / 1.857 GB, free: 1.914 MB / 1.151 GB Notification: Performance of SimCode: time 0.6776/2.873, allocations: 25.36 MB / 1.882 GB, free: 0.4996 GB / 1.151 GB Notification: Performance of Templates: time 0.268/3.141, allocations: 199.1 MB / 2.076 GB, free: 350.7 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)