Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001332, allocations: 172.5 kB / 326.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.83 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006905/0.0006908, allocations: 15.28 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2093, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.428/1.637, allocations: 482.7 MB / 1.371 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9376/2.575, allocations: 69.06 MB / 1.438 GB, free: 20.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01823/2.593, allocations: 363 kB / 1.439 GB, free: 20.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01802/2.611, allocations: 3.555 MB / 1.442 GB, free: 20.86 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.04666/2.658, allocations: 10.57 MB / 1.452 GB, free: 20.38 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03948/2.697, allocations: 8.622 MB / 1.461 GB, free: 20.05 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06758/2.765, allocations: 35.48 MB / 1.496 GB, free: 19.98 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03703/2.802, allocations: 9.426 MB / 1.505 GB, free: 18.14 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03954/2.841, allocations: 9.292 MB / 1.514 GB, free: 16.7 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02852/2.87, allocations: 8.128 MB / 1.522 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.005925/2.876, allocations: 419.4 kB / 1.522 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02939/2.905, allocations: 3.933 MB / 1.526 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.006352/2.912, allocations: 2.352 MB / 1.528 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.007471/2.919, allocations: 2.417 MB / 1.531 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02819/2.948, allocations: 14.77 MB / 1.545 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/2.948, allocations: 3.938 kB / 1.545 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.236e-06/2.948, allocations: 0 / 1.545 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007885/2.948, allocations: 4 kB / 1.545 GB, free: 2.938 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1862 * Number of variables: 1862 Notification: Performance of Generate backend data structure: time 0.03766/2.986, allocations: 11.12 MB / 1.556 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/2.986, allocations: 12.03 kB / 1.556 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/3.003, allocations: 2.073 MB / 1.558 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03581/3.039, allocations: 9.923 MB / 1.568 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009217/3.04, allocations: 0.5732 MB / 1.568 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/3.043, allocations: 0.7775 MB / 1.569 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03167/3.075, allocations: 8.598 MB / 1.577 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004758/3.076, allocations: 14.06 kB / 1.577 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/3.078, allocations: 321.2 kB / 1.578 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000535/3.079, allocations: 284.2 kB / 1.578 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/3.106, allocations: 7.056 MB / 1.585 GB, free: 6.039 MB / 0.9323 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.1031/3.209, allocations: 41.36 MB / 1.625 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/3.223, allocations: 4.646 MB / 1.63 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008036/3.231, allocations: 2.403 MB / 1.632 GB, free: 13.56 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 evalFunc (simulation): time 0.04204/3.273, allocations: 10.33 MB / 1.642 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009103/3.282, allocations: 2.465 MB / 1.645 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006527/3.289, allocations: 466 kB / 1.645 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=405): time 2.003e-05/3.289, allocations: 0 / 1.645 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=414): time 0.07334/3.362, allocations: 14.84 MB / 1.66 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003544/3.363, allocations: 0.5723 MB / 1.66 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02313/3.386, allocations: 8.201 MB / 1.668 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001402/3.387, allocations: 139.8 kB / 1.668 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007752/3.395, allocations: 5.043 MB / 1.673 GB, free: 14.74 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/3.398, allocations: 1.44 MB / 1.675 GB, free: 13.51 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008872/3.399, allocations: 115.7 kB / 1.675 GB, free: 13.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005618/3.399, allocations: 0.5233 MB / 1.675 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009026/3.408, allocations: 2.17 MB / 1.677 GB, free: 11.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/3.42, allocations: 3.991 MB / 1.681 GB, free: 7.758 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/3.431, allocations: 2.753 MB / 1.684 GB, free: 6.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-05/3.431, allocations: 12 kB / 1.684 GB, free: 6.008 MB / 1.01 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.03907/3.47, allocations: 8.102 MB / 1.692 GB, free: 15.81 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0013/3.472, allocations: 1.289 MB / 1.693 GB, free: 14.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/3.472, allocations: 44 kB / 1.693 GB, free: 14.05 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/3.49, allocations: 1.856 MB / 1.695 GB, free: 12.36 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.5, allocations: 1.236 MB / 1.696 GB, free: 11.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/3.517, allocations: 7.863 MB / 1.704 GB, free: 3.738 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/3.533, allocations: 0.77 MB / 1.705 GB, free: 3.066 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/3.535, allocations: 275.4 kB / 1.705 GB, free: 2.844 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/3.535, allocations: 5.562 kB / 1.705 GB, free: 2.84 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03587/3.571, allocations: 7.136 MB / 1.712 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/3.571, allocations: 52.11 kB / 1.712 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01621/3.587, allocations: 1.719 MB / 1.714 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009548/3.597, allocations: 1.187 MB / 1.715 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/3.622, allocations: 9.858 MB / 1.724 GB, free: 2.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01415/3.636, allocations: 0.7259 MB / 1.725 GB, free: 1.531 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/3.638, allocations: 266 kB / 1.725 GB, free: 1.316 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$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,conBoiRet.conPID.I.trigger_internal) * 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.008832/3.647, allocations: 2.295 MB / 1.728 GB, free: 15.96 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003695/3.651, allocations: 0.9105 MB / 1.728 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/3.675, allocations: 6.161 MB / 1.734 GB, free: 10.13 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01865/3.693, allocations: 4.553 MB / 1.739 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/3.694, allocations: 0 / 1.739 GB, free: 5.539 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007408/3.701, allocations: 1.649 MB / 1.741 GB, free: 3.859 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003658/3.705, allocations: 99.98 kB / 1.741 GB, free: 3.762 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01276/3.717, allocations: 0.6311 MB / 1.741 GB, free: 3.133 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001421/3.719, allocations: 331.1 kB / 1.742 GB, free: 2.809 MB / 1.057 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02714/3.746, allocations: 5.768 MB / 1.747 GB, free: 13.09 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02829/3.774, allocations: 7.841 MB / 1.755 GB, free: 5.191 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006895/3.781, allocations: 2.117 MB / 1.757 GB, free: 3.07 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01587/3.797, allocations: 5.402 MB / 1.762 GB, free: 13.7 MB / 1.089 GB Notification: Performance of Backend: time 8.02e-07/3.797, allocations: 0 / 1.762 GB, free: 13.7 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05127/3.849, allocations: 11.31 MB / 1.773 GB, free: 2.824 MB / 1.089 GB Notification: Performance of SimCode: time 0.08232/3.931, allocations: 25.44 MB / 1.798 GB, free: 9.43 MB / 1.12 GB Notification: Performance of Templates: time 1.756/5.687, allocations: 197.7 MB / 1.991 GB, free: 382.2 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)