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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001716/0.001716, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00054/0.00054, allocations: 15.75 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2723, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006227/0.2786, allocations: 4.876 MB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7491/1.028, allocations: 131 MB / 0.9199 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/1.029, allocations: 21.66 kB / 0.9199 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004443/1.033, allocations: 1.306 MB / 0.9212 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/1.036, allocations: 0.6168 MB / 0.9218 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/1.038, allocations: 0.761 MB / 0.9225 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002769/1.041, allocations: 1.793 MB / 0.9242 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/1.042, allocations: 0.6885 MB / 0.9249 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/1.044, allocations: 0.8507 MB / 0.9258 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/1.045, allocations: 0.6698 MB / 0.9264 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/1.045, allocations: 43.34 kB / 0.9264 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/1.05, allocations: 1.655 MB / 0.9281 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00208/1.052, allocations: 1.867 MB / 0.9299 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/1.053, allocations: 0.5605 MB / 0.9304 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.063, allocations: 6.147 MB / 0.9364 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.063, allocations: 0 / 0.9364 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/1.063, allocations: 0 / 0.9364 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002006/1.063, allocations: 0 / 0.9364 GB, free: 4.715 MB / 0.7169 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.0191/1.082, allocations: 4.994 MB / 0.9413 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.082, allocations: 10.91 kB / 0.9413 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/1.086, allocations: 464.7 kB / 0.9418 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.304/1.39, allocations: 307.4 MB / 1.242 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/1.39, allocations: 122.2 kB / 1.242 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008432/1.391, allocations: 172.7 kB / 1.242 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/1.395, allocations: 1.321 MB / 1.244 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/1.395, allocations: 0 / 1.244 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/1.395, allocations: 51.98 kB / 1.244 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/1.395, allocations: 28 kB / 1.244 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/1.397, allocations: 1.418 MB / 1.245 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6338/2.031, allocations: 76.34 MB / 1.32 GB, free: 385.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/2.033, allocations: 1.148 MB / 1.321 GB, free: 384.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/2.033, allocations: 35 kB / 1.321 GB, free: 384.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/2.034, allocations: 0.6623 MB / 1.321 GB, free: 383.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 3.828e-06/2.034, allocations: 0 / 1.321 GB, free: 383.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.00571/2.04, allocations: 2.265 MB / 1.324 GB, free: 381.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/2.04, allocations: 339.3 kB / 1.324 GB, free: 381.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3964/2.437, allocations: 379.7 MB / 1.695 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006903/2.437, allocations: 72.48 kB / 1.695 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/2.441, allocations: 1.569 MB / 1.696 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/2.441, allocations: 354 kB / 1.697 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/2.442, allocations: 40 kB / 1.697 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003253/2.442, allocations: 410.3 kB / 1.697 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/2.444, allocations: 1.159 MB / 1.698 GB, free: 264 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5695/3.014, allocations: 1.868 MB / 1.7 GB, free: 405 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/3.017, allocations: 1.588 MB / 1.702 GB, free: 404.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/3.017, allocations: 5.188 kB / 1.702 GB, free: 404.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.008434/3.025, allocations: 3.678 MB / 1.705 GB, free: 404.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/3.026, allocations: 184.7 kB / 1.705 GB, free: 404.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/3.026, allocations: 27.06 kB / 1.705 GB, free: 404.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/3.026, allocations: 33.44 kB / 1.705 GB, free: 404.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/3.027, allocations: 457.3 kB / 1.706 GB, free: 404.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.14e-05/3.027, allocations: 55.48 kB / 1.706 GB, free: 404.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/3.031, allocations: 0.5312 MB / 1.706 GB, free: 404.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/3.032, allocations: 111.5 kB / 1.707 GB, free: 404.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003896/3.036, allocations: 1.635 MB / 1.708 GB, free: 404.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/3.038, allocations: 340.5 kB / 1.708 GB, free: 403.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/3.042, allocations: 2.443 MB / 1.711 GB, free: 403.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/3.042, allocations: 8.906 kB / 1.711 GB, free: 403.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/3.042, allocations: 1.156 kB / 1.711 GB, free: 403.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/3.042, allocations: 6.656 kB / 1.711 GB, free: 403.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/3.054, allocations: 5.632 MB / 1.716 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/3.054, allocations: 4.844 kB / 1.716 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/3.055, allocations: 153.1 kB / 1.716 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/3.055, allocations: 3.656 kB / 1.716 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/3.055, allocations: 31.05 kB / 1.717 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/3.055, allocations: 3.938 kB / 1.717 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/3.055, allocations: 0 / 1.717 GB, free: 401.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/3.06, allocations: 2.281 MB / 1.719 GB, free: 400.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/3.062, allocations: 1.232 MB / 1.72 GB, free: 400.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006692/3.063, allocations: 25.66 kB / 1.72 GB, free: 400.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/3.065, allocations: 302.5 kB / 1.72 GB, free: 400 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/3.065, allocations: 69.03 kB / 1.72 GB, free: 400 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/3.065, allocations: 41.3 kB / 1.72 GB, free: 400 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.2209/3.286, allocations: 305.4 MB / 2.019 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/3.286, allocations: 4 kB / 2.019 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005891/3.292, allocations: 1.166 MB / 2.02 GB, free: 99.21 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/3.295, allocations: 0.9083 MB / 2.021 GB, free: 98.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004846/3.299, allocations: 4.024 MB / 2.025 GB, free: 94.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/3.299, allocations: 1.875 kB / 2.025 GB, free: 94.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/3.301, allocations: 1.962 MB / 2.026 GB, free: 92.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/3.304, allocations: 397.3 kB / 2.027 GB, free: 92.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/3.316, allocations: 8.258 MB / 2.035 GB, free: 83.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/3.318, allocations: 2.38 MB / 2.037 GB, free: 81.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003779/3.322, allocations: 1.267 MB / 2.038 GB, free: 80.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/3.324, allocations: 491.2 kB / 2.039 GB, free: 79.76 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/3.324, allocations: 0 / 2.039 GB, free: 79.76 MB / 0.9981 GB Notification: Performance of Templates: time 0.6091/3.933, allocations: 151.9 MB / 2.187 GB, free: 345.6 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: