Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_latest_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.001678/0.001678, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.0022/0.0022, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 64.09 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8641, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009641/0.8737, allocations: 7.266 MB / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1721/1.046, allocations: 155.5 MB / 1.367 GB, free: 10.22 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/1.048, allocations: 23.88 kB / 1.367 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005232/1.053, allocations: 1.815 MB / 1.369 GB, free: 8.379 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/1.056, allocations: 0.8406 MB / 1.37 GB, free: 7.539 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/1.059, allocations: 1.031 MB / 1.371 GB, free: 6.512 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004312/1.063, allocations: 3.582 MB / 1.375 GB, free: 2.922 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/1.065, allocations: 0.9055 MB / 1.375 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/1.067, allocations: 1.173 MB / 1.377 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.069, allocations: 1.059 MB / 1.378 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006518/1.069, allocations: 192 kB / 1.378 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/1.074, allocations: 2.235 MB / 1.38 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002084/1.076, allocations: 1.915 MB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/1.078, allocations: 1.177 MB / 1.383 GB, free: 10.2 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007903/1.086, allocations: 4.429 MB / 1.387 GB, free: 5.762 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.086, allocations: 4 kB / 1.387 GB, free: 5.758 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/1.086, allocations: 0 / 1.387 GB, free: 5.758 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001238/1.086, allocations: 0 / 1.387 GB, free: 5.758 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007352/1.094, allocations: 2.992 MB / 1.39 GB, free: 2.699 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.094, allocations: 8.031 kB / 1.39 GB, free: 2.691 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/1.095, allocations: 301.8 kB / 1.391 GB, free: 2.395 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005595/1.1, allocations: 4.576 MB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.101, allocations: 130.3 kB / 1.395 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/1.101, allocations: 184 kB / 1.395 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/1.104, allocations: 1.664 MB / 1.397 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.104, allocations: 0 / 1.397 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/1.104, allocations: 56 kB / 1.397 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/1.104, allocations: 32 kB / 1.397 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/1.107, allocations: 1.73 MB / 1.399 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/1.118, allocations: 7.374 MB / 1.406 GB, free: 2.363 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/1.12, allocations: 1.587 MB / 1.407 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.122, allocations: 1.035 MB / 1.408 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.122, allocations: 32.86 kB / 1.408 GB, free: 15.7 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/1.123, allocations: 0.9812 MB / 1.409 GB, free: 14.71 MB / 1.139 GB Notification: Performance of pre-optimization done (n=118): time 3.998e-06/1.123, allocations: 0 / 1.409 GB, free: 14.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=118): time 0.004942/1.128, allocations: 2.844 MB / 1.412 GB, free: 11.85 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002563/1.129, allocations: 348.2 kB / 1.413 GB, free: 11.46 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.139, allocations: 7.38 MB / 1.42 GB, free: 4.031 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.14, allocations: 73.7 kB / 1.42 GB, free: 3.953 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009867/1.141, allocations: 0.792 MB / 1.421 GB, free: 3.152 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/1.141, allocations: 394.5 kB / 1.421 GB, free: 2.762 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002175/1.143, allocations: 1.876 MB / 1.423 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.143, allocations: 309.1 kB / 1.423 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01203/1.156, allocations: 12.99 MB / 1.436 GB, free: 3.566 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/1.169, allocations: 13.7 MB / 1.449 GB, free: 5.684 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/1.186, allocations: 17.11 MB / 1.466 GB, free: 4.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-05/1.186, allocations: 4 kB / 1.466 GB, free: 4.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03337/1.219, allocations: 31.26 MB / 1.496 GB, free: 4.832 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.22, allocations: 185.6 kB / 1.497 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/1.22, allocations: 16.03 kB / 1.497 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.78e-05/1.22, allocations: 24 kB / 1.497 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/1.222, allocations: 471.2 kB / 1.497 GB, free: 4.145 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-05/1.222, allocations: 31.92 kB / 1.497 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/1.224, allocations: 277 kB / 1.497 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/1.224, allocations: 111.9 kB / 1.497 GB, free: 3.734 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$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 (290): * Single equations (assignments): 276 * 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.002013/1.226, allocations: 1.235 MB / 1.499 GB, free: 2.484 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/1.227, allocations: 177.6 kB / 1.499 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/1.231, allocations: 2.741 MB / 1.502 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.231, allocations: 12 kB / 1.502 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.231, allocations: 4 kB / 1.502 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.231, allocations: 3.984 kB / 1.502 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/1.234, allocations: 1.484 MB / 1.503 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.234, allocations: 0 / 1.503 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/1.234, allocations: 159.8 kB / 1.503 GB, free: 13.83 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.234, allocations: 7.984 kB / 1.503 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/1.234, allocations: 35.98 kB / 1.503 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.234, allocations: 4 kB / 1.503 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.234, allocations: 0 / 1.503 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/1.238, allocations: 2.648 MB / 1.506 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/1.239, allocations: 430.2 kB / 1.506 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/1.239, allocations: 28 kB / 1.506 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/1.24, allocations: 75.92 kB / 1.506 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.24, allocations: 76.89 kB / 1.506 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/1.24, allocations: 51.97 kB / 1.506 GB, free: 10.44 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004136/1.244, allocations: 4.648 MB / 1.511 GB, free: 5.766 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/1.244, allocations: 4 kB / 1.511 GB, free: 5.762 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003223/1.247, allocations: 1.213 MB / 1.512 GB, free: 4.547 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.002925/1.25, allocations: 0.9496 MB / 1.513 GB, free: 3.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.268, allocations: 18.97 MB / 1.532 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.268, allocations: 2 kB / 1.532 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/1.271, allocations: 2.243 MB / 1.534 GB, free: 14.53 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/1.274, allocations: 377.9 kB / 1.534 GB, free: 14.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/1.283, allocations: 5.514 MB / 1.54 GB, free: 8.645 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.284, allocations: 1.542 MB / 1.541 GB, free: 7.086 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/1.285, allocations: 175.3 kB / 1.541 GB, free: 6.914 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/1.285, allocations: 0 / 1.541 GB, free: 6.914 MB / 1.264 GB Notification: Performance of Templates: time 0.6525/1.938, allocations: 46.57 MB / 1.587 GB, free: 342.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)