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.001411/0.001411, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001461/0.001461, allocations: 188.1 kB / 17.34 MB, free: 5.719 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8455, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01044/0.856, allocations: 7.27 MB / 1.216 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1824/1.039, allocations: 155.5 MB / 1.367 GB, free: 10.21 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.04, allocations: 23.88 kB / 1.367 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00571/1.046, allocations: 1.807 MB / 1.369 GB, free: 8.371 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003471/1.05, allocations: 0.8503 MB / 1.37 GB, free: 7.52 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/1.053, allocations: 1.028 MB / 1.371 GB, free: 6.496 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004566/1.057, allocations: 3.575 MB / 1.375 GB, free: 2.914 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/1.059, allocations: 0.9172 MB / 1.375 GB, free: 1.949 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/1.061, allocations: 1.173 MB / 1.377 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/1.063, allocations: 1.055 MB / 1.378 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006611/1.064, allocations: 192 kB / 1.378 GB, free: 15.53 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/1.068, allocations: 2.243 MB / 1.38 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001976/1.07, allocations: 1.911 MB / 1.382 GB, free: 11.37 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/1.073, allocations: 1.174 MB / 1.383 GB, free: 10.19 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/1.08, allocations: 4.425 MB / 1.387 GB, free: 5.75 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.08, allocations: 4 kB / 1.387 GB, free: 5.746 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.933e-06/1.08, allocations: 0 / 1.387 GB, free: 5.746 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001284/1.08, allocations: 0 / 1.387 GB, free: 5.746 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.007191/1.088, allocations: 2.989 MB / 1.39 GB, free: 2.688 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.088, allocations: 12.02 kB / 1.39 GB, free: 2.676 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.089, allocations: 297.8 kB / 1.391 GB, free: 2.383 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/1.095, allocations: 4.58 MB / 1.395 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.095, allocations: 130.4 kB / 1.395 GB, free: 13.62 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/1.095, allocations: 184 kB / 1.395 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/1.098, allocations: 1.66 MB / 1.397 GB, free: 11.72 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/1.098, allocations: 0 / 1.397 GB, free: 11.72 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/1.098, allocations: 60 kB / 1.397 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.098, allocations: 28 kB / 1.397 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/1.101, allocations: 1.726 MB / 1.399 GB, free: 9.902 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/1.112, allocations: 7.389 MB / 1.406 GB, free: 2.344 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/1.114, allocations: 1.583 MB / 1.407 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/1.115, allocations: 1.027 MB / 1.408 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.13e-05/1.115, allocations: 37.17 kB / 1.408 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/1.117, allocations: 0.9889 MB / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of pre-optimization done (n=118): time 3.507e-06/1.117, allocations: 0 / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=118): time 0.004216/1.121, allocations: 2.84 MB / 1.412 GB, free: 11.83 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/1.121, allocations: 344.2 kB / 1.413 GB, free: 11.45 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009728/1.131, allocations: 7.388 MB / 1.42 GB, free: 4.012 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/1.131, allocations: 73.7 kB / 1.42 GB, free: 3.934 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/1.132, allocations: 0.792 MB / 1.421 GB, free: 3.133 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/1.133, allocations: 386.5 kB / 1.421 GB, free: 2.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/1.135, allocations: 1.88 MB / 1.423 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.135, allocations: 305.1 kB / 1.423 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/1.147, allocations: 12.99 MB / 1.436 GB, free: 3.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/1.159, allocations: 13.7 MB / 1.449 GB, free: 5.672 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/1.176, allocations: 17.11 MB / 1.466 GB, free: 4.281 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.776e-05/1.176, allocations: 4 kB / 1.466 GB, free: 4.277 MB / 1.186 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03287/1.209, allocations: 31.26 MB / 1.496 GB, free: 4.824 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/1.21, allocations: 181.6 kB / 1.497 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/1.21, allocations: 12 kB / 1.497 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/1.21, allocations: 28.03 kB / 1.497 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/1.212, allocations: 479.1 kB / 1.497 GB, free: 4.133 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-05/1.212, allocations: 27.94 kB / 1.497 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.214, allocations: 282.6 kB / 1.497 GB, free: 3.832 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/1.214, allocations: 115.9 kB / 1.497 GB, free: 3.719 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.001876/1.216, allocations: 1.239 MB / 1.499 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/1.217, allocations: 181.5 kB / 1.499 GB, free: 2.285 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.221, allocations: 2.737 MB / 1.502 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.221, allocations: 12 kB / 1.502 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.221, allocations: 0 / 1.502 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.221, allocations: 7.984 kB / 1.502 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.223, allocations: 1.484 MB / 1.503 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.223, allocations: 0 / 1.503 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/1.224, allocations: 163.7 kB / 1.503 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.224, allocations: 4 kB / 1.503 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.319e-05/1.224, allocations: 35.97 kB / 1.503 GB, free: 13.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.224, allocations: 4 kB / 1.503 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.224, allocations: 0 / 1.503 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/1.227, allocations: 2.644 MB / 1.506 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/1.228, allocations: 430.2 kB / 1.506 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.228, allocations: 28 kB / 1.506 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/1.229, allocations: 71.92 kB / 1.506 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.229, allocations: 80.89 kB / 1.506 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.23, allocations: 51.97 kB / 1.506 GB, free: 10.42 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004123/1.234, allocations: 4.648 MB / 1.511 GB, free: 5.75 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.91e-07/1.234, allocations: 0 / 1.511 GB, free: 5.75 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003015/1.237, allocations: 1.213 MB / 1.512 GB, free: 4.535 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.003048/1.24, allocations: 0.957 MB / 1.513 GB, free: 3.75 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.257, allocations: 18.97 MB / 1.532 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.257, allocations: 4 kB / 1.532 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.259, allocations: 2.237 MB / 1.534 GB, free: 14.52 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.261, allocations: 369.6 kB / 1.534 GB, free: 14.17 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/1.269, allocations: 5.51 MB / 1.54 GB, free: 8.637 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.271, allocations: 1.537 MB / 1.541 GB, free: 7.082 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/1.271, allocations: 175.4 kB / 1.541 GB, free: 6.91 MB / 1.264 GB Notification: Performance of SimCode: time 7.92e-07/1.271, allocations: 0 / 1.541 GB, free: 6.91 MB / 1.264 GB Notification: Performance of Templates: time 0.6596/1.931, allocations: 47.12 MB / 1.587 GB, free: 342.2 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)