Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00142/0.00142, allocations: 105.1 kB / 16.41 MB, free: 6.445 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.001487/0.001487, allocations: 187 kB / 17.34 MB, free: 5.703 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9116, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009536/0.9212, allocations: 7.302 MB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1747/1.096, allocations: 155.5 MB / 1.326 GB, free: 448 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/1.098, allocations: 23.88 kB / 1.326 GB, free: 424 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005299/1.103, allocations: 1.82 MB / 1.328 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/1.106, allocations: 0.8626 MB / 1.329 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/1.109, allocations: 1.029 MB / 1.33 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004129/1.113, allocations: 3.583 MB / 1.333 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.115, allocations: 0.9172 MB / 1.334 GB, free: 8.145 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/1.117, allocations: 1.169 MB / 1.335 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/1.119, allocations: 1.051 MB / 1.337 GB, free: 5.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/1.119, allocations: 196 kB / 1.337 GB, free: 5.727 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/1.123, allocations: 2.247 MB / 1.339 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001621/1.124, allocations: 1.907 MB / 1.341 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/1.126, allocations: 1.178 MB / 1.342 GB, free: 392 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008055/1.134, allocations: 4.457 MB / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/1.134, allocations: 4 kB / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.134, allocations: 0 / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.638e-05/1.134, allocations: 0 / 1.346 GB, free: 11.91 MB / 1.076 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.005826/1.14, allocations: 3.078 MB / 1.349 GB, free: 8.754 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.14, allocations: 8.922 kB / 1.349 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.141, allocations: 315.2 kB / 1.35 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/1.147, allocations: 4.596 MB / 1.354 GB, free: 3.793 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.147, allocations: 134.4 kB / 1.354 GB, free: 3.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/1.147, allocations: 180 kB / 1.354 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/1.15, allocations: 1.656 MB / 1.356 GB, free: 1.766 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.15, allocations: 11.86 kB / 1.356 GB, free: 1.754 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.151, allocations: 60 kB / 1.356 GB, free: 1.695 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.151, allocations: 28 kB / 1.356 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/1.153, allocations: 1.723 MB / 1.358 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/1.165, allocations: 7.392 MB / 1.365 GB, free: 8.371 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/1.167, allocations: 1.584 MB / 1.367 GB, free: 6.785 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.168, allocations: 1.035 MB / 1.368 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/1.169, allocations: 37.17 kB / 1.368 GB, free: 5.715 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/1.17, allocations: 0.9772 MB / 1.369 GB, free: 4.723 MB / 1.092 GB Notification: Performance of pre-optimization done (n=118): time 3.587e-06/1.17, allocations: 0 / 1.369 GB, free: 4.723 MB / 1.092 GB Notification: Performance of matching and sorting (n=118): time 0.004512/1.175, allocations: 2.849 MB / 1.371 GB, free: 1.863 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/1.175, allocations: 348.2 kB / 1.372 GB, free: 1.473 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00962/1.184, allocations: 7.389 MB / 1.379 GB, free: 10.04 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004934/1.185, allocations: 73.7 kB / 1.379 GB, free: 9.957 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/1.186, allocations: 0.8013 MB / 1.38 GB, free: 9.148 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/1.186, allocations: 416.5 kB / 1.38 GB, free: 8.738 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/1.188, allocations: 1.915 MB / 1.382 GB, free: 6.809 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.188, allocations: 305.1 kB / 1.382 GB, free: 6.508 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/1.2, allocations: 12.99 MB / 1.395 GB, free: 9.512 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/1.214, allocations: 13.7 MB / 1.408 GB, free: 11.64 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/1.231, allocations: 17.11 MB / 1.425 GB, free: 10.26 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/1.231, allocations: 8.062 kB / 1.425 GB, free: 10.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.04045/1.272, allocations: 31.28 MB / 1.456 GB, free: 10.77 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002971/1.272, allocations: 185.6 kB / 1.456 GB, free: 10.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/1.272, allocations: 12 kB / 1.456 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/1.272, allocations: 23.98 kB / 1.456 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.275, allocations: 475.2 kB / 1.456 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.045e-05/1.275, allocations: 31.86 kB / 1.456 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.277, allocations: 287.8 kB / 1.457 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.277, allocations: 112 kB / 1.457 GB, free: 9.656 MB / 1.186 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.001855/1.279, allocations: 1.231 MB / 1.458 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/1.279, allocations: 190.7 kB / 1.458 GB, free: 8.223 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/1.284, allocations: 2.745 MB / 1.461 GB, free: 5.465 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.284, allocations: 16 kB / 1.461 GB, free: 5.449 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.284, allocations: 0 / 1.461 GB, free: 5.449 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.284, allocations: 3.984 kB / 1.461 GB, free: 5.445 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/1.286, allocations: 1.481 MB / 1.462 GB, free: 3.906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.286, allocations: 0 / 1.462 GB, free: 3.906 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/1.287, allocations: 155.8 kB / 1.462 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.287, allocations: 4 kB / 1.462 GB, free: 3.75 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/1.287, allocations: 35.97 kB / 1.462 GB, free: 3.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.287, allocations: 4 kB / 1.462 GB, free: 3.711 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.287, allocations: 0 / 1.462 GB, free: 3.711 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/1.291, allocations: 2.653 MB / 1.465 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000856/1.292, allocations: 439.3 kB / 1.465 GB, free: 0.582 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.293, allocations: 35.98 kB / 1.465 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.293, allocations: 79.86 kB / 1.466 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/1.294, allocations: 84.89 kB / 1.466 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.294, allocations: 47.97 kB / 1.466 GB, free: 344 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005033/1.299, allocations: 4.648 MB / 1.47 GB, free: 11.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.81e-07/1.299, allocations: 0 / 1.47 GB, free: 11.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004167/1.303, allocations: 1.228 MB / 1.471 GB, free: 10.43 MB / 1.201 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.002967/1.306, allocations: 0.9686 MB / 1.472 GB, free: 9.621 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02167/1.328, allocations: 18.97 MB / 1.491 GB, free: 6.641 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.328, allocations: 0 / 1.491 GB, free: 6.641 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/1.331, allocations: 2.243 MB / 1.493 GB, free: 4.383 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.333, allocations: 367.8 kB / 1.493 GB, free: 4.039 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/1.342, allocations: 5.591 MB / 1.499 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.344, allocations: 1.539 MB / 1.5 GB, free: 12.86 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/1.344, allocations: 167.4 kB / 1.501 GB, free: 12.69 MB / 1.232 GB Notification: Performance of SimCode: time 1.102e-06/1.344, allocations: 0 / 1.501 GB, free: 12.69 MB / 1.232 GB Notification: Performance of Templates: time 0.08152/1.426, allocations: 46.72 MB / 1.546 GB, free: 14.67 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)