Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001192/0.001192, allocations: 191.7 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205 MB / 0.6353 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009775/0.0009776, allocations: 94.89 kB / 0.7479 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2795, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009213/0.2888, allocations: 5.769 MB / 0.9879 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6485/0.9373, allocations: 152.9 MB / 1.137 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.9388, allocations: 22.28 kB / 1.137 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.9438, allocations: 1.622 MB / 1.139 GB, free: 2.418 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.002149/0.946, allocations: 0.5734 MB / 1.139 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.9483, allocations: 0.8227 MB / 1.14 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.9509, allocations: 3.154 MB / 1.143 GB, free: 408 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.952, allocations: 0.8919 MB / 1.144 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.9534, allocations: 0.9722 MB / 1.145 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.9544, allocations: 0.93 MB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.9546, allocations: 93.47 kB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.9579, allocations: 1.928 MB / 1.148 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.9592, allocations: 1.801 MB / 1.15 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009775/0.9602, allocations: 0.9771 MB / 1.151 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.9651, allocations: 3.954 MB / 1.155 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9651, allocations: 4 kB / 1.155 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.12e-07/0.9651, allocations: 0 / 1.155 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.267e-05/0.9652, allocations: 0 / 1.155 GB, free: 12.2 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.004951/0.9701, allocations: 2.81 MB / 1.157 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.9702, allocations: 9.156 kB / 1.157 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.971, allocations: 287.5 kB / 1.158 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.976, allocations: 4.505 MB / 1.162 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.9761, allocations: 123.6 kB / 1.162 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.9763, allocations: 172.3 kB / 1.162 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.9787, allocations: 1.557 MB / 1.164 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.9787, allocations: 0 / 1.164 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/0.9788, allocations: 52.52 kB / 1.164 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.9788, allocations: 29.16 kB / 1.164 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.9809, allocations: 1.642 MB / 1.165 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.991, allocations: 6.684 MB / 1.172 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.9935, allocations: 1.456 MB / 1.173 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.9949, allocations: 0.9929 MB / 1.174 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.995, allocations: 42.53 kB / 1.174 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.9965, allocations: 0.8839 MB / 1.175 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/0.9965, allocations: 1.125 kB / 1.175 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of matching and sorting (n=106): time 0.004579/1.001, allocations: 2.662 MB / 1.178 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002594/1.001, allocations: 343.1 kB / 1.178 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.013, allocations: 7.316 MB / 1.185 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006133/1.014, allocations: 72.48 kB / 1.185 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/1.015, allocations: 0.7482 MB / 1.186 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.015, allocations: 365.2 kB / 1.186 GB, free: 312 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00242/1.018, allocations: 1.859 MB / 1.188 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.018, allocations: 302.2 kB / 1.189 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01379/1.032, allocations: 12.95 MB / 1.201 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/1.045, allocations: 13.64 MB / 1.215 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01907/1.064, allocations: 17.02 MB / 1.231 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-05/1.065, allocations: 8.781 kB / 1.231 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04415/1.109, allocations: 31.16 MB / 1.262 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004862/1.109, allocations: 189.5 kB / 1.262 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.889e-05/1.109, allocations: 12 kB / 1.262 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/1.109, allocations: 20 kB / 1.262 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/1.113, allocations: 454.6 kB / 1.262 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.575e-05/1.113, allocations: 30.12 kB / 1.262 GB, free: 124 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/1.116, allocations: 255.5 kB / 1.263 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/1.116, allocations: 100.2 kB / 1.263 GB, free: 15.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 260 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.118, allocations: 1.216 MB / 1.264 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/1.119, allocations: 174.3 kB / 1.264 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/1.123, allocations: 2.602 MB / 1.267 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.123, allocations: 8 kB / 1.267 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.123, allocations: 4.875 kB / 1.267 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.123, allocations: 8.219 kB / 1.267 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00637/1.129, allocations: 4.089 MB / 1.271 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.129, allocations: 0 / 1.271 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/1.13, allocations: 152.3 kB / 1.271 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.13, allocations: 7.938 kB / 1.271 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.13, allocations: 31.44 kB / 1.271 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.13, allocations: 8 kB / 1.271 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.13, allocations: 0 / 1.271 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/1.137, allocations: 4.601 MB / 1.275 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/1.138, allocations: 405.2 kB / 1.276 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.138, allocations: 24.61 kB / 1.276 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/1.139, allocations: 60.48 kB / 1.276 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.139, allocations: 63.55 kB / 1.276 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.139, allocations: 46.36 kB / 1.276 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005185/1.144, allocations: 4.598 MB / 1.28 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/1.144, allocations: 4 kB / 1.28 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004209/1.149, allocations: 1.151 MB / 1.281 GB, free: 14.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002898/1.152, allocations: 0.9039 MB / 1.282 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01958/1.171, allocations: 18.86 MB / 1.301 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.171, allocations: 0 / 1.301 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/1.174, allocations: 2.183 MB / 1.303 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.176, allocations: 314.4 kB / 1.303 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.189, allocations: 9.95 MB / 1.313 GB, free: 116 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.192, allocations: 2.39 MB / 1.315 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001661/1.194, allocations: 430.8 kB / 1.316 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/1.194, allocations: 147.4 kB / 1.316 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/1.194, allocations: 0 / 1.316 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.08983/1.284, allocations: 33.51 MB / 1.348 GB, free: 12.11 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)