Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001499/0.001499, allocations: 105.5 kB / 16.41 MB, free: 6.508 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.001473/0.001473, allocations: 187 kB / 17.34 MB, free: 5.742 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9102, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007448/0.9177, allocations: 6.053 MB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2091/1.127, allocations: 155.4 MB / 1.246 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/1.129, allocations: 26.31 kB / 1.246 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005153/1.134, allocations: 1.781 MB / 1.248 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/1.137, allocations: 0.7567 MB / 1.249 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/1.139, allocations: 1.027 MB / 1.25 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003914/1.143, allocations: 3.366 MB / 1.253 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/1.145, allocations: 0.9594 MB / 1.254 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/1.147, allocations: 1.134 MB / 1.255 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.149, allocations: 1.035 MB / 1.256 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006698/1.15, allocations: 196 kB / 1.256 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/1.156, allocations: 2.239 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002718/1.159, allocations: 1.907 MB / 1.26 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/1.161, allocations: 1.139 MB / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009091/1.17, allocations: 4.363 MB / 1.266 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.17, allocations: 4 kB / 1.266 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/1.17, allocations: 0 / 1.266 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.051e-05/1.17, allocations: 0 / 1.266 GB, free: 8.352 MB / 0.9981 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.007116/1.177, allocations: 2.958 MB / 1.269 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.177, allocations: 12.03 kB / 1.269 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/1.178, allocations: 301.8 kB / 1.269 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007359/1.186, allocations: 4.576 MB / 1.273 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/1.186, allocations: 134.4 kB / 1.274 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/1.186, allocations: 176 kB / 1.274 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/1.191, allocations: 1.672 MB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/1.191, allocations: 0 / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/1.191, allocations: 48 kB / 1.275 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/1.191, allocations: 28 kB / 1.275 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/1.195, allocations: 1.73 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/1.211, allocations: 6.994 MB / 1.284 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/1.215, allocations: 1.579 MB / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/1.216, allocations: 1.031 MB / 1.286 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/1.216, allocations: 37.17 kB / 1.286 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/1.218, allocations: 0.9928 MB / 1.287 GB, free: 1.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 5.7e-06/1.218, allocations: 0 / 1.287 GB, free: 1.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.004605/1.222, allocations: 2.848 MB / 1.29 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/1.223, allocations: 340.2 kB / 1.291 GB, free: 14.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.233, allocations: 7.384 MB / 1.298 GB, free: 7.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000394/1.233, allocations: 69.7 kB / 1.298 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009376/1.234, allocations: 0.7921 MB / 1.299 GB, free: 6.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/1.235, allocations: 390.4 kB / 1.299 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/1.237, allocations: 1.888 MB / 1.301 GB, free: 3.965 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.237, allocations: 301.1 kB / 1.301 GB, free: 3.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01288/1.25, allocations: 12.99 MB / 1.314 GB, free: 6.676 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/1.264, allocations: 13.7 MB / 1.327 GB, free: 8.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/1.281, allocations: 17.09 MB / 1.344 GB, free: 7.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/1.281, allocations: 4 kB / 1.344 GB, free: 7.422 MB / 1.076 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03403/1.315, allocations: 31.27 MB / 1.374 GB, free: 7.961 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/1.315, allocations: 181.6 kB / 1.375 GB, free: 7.777 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/1.315, allocations: 12 kB / 1.375 GB, free: 7.766 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/1.315, allocations: 24 kB / 1.375 GB, free: 7.742 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.317, allocations: 475.2 kB / 1.375 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-05/1.318, allocations: 35.86 kB / 1.375 GB, free: 7.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.32, allocations: 285.2 kB / 1.375 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/1.32, allocations: 108 kB / 1.375 GB, free: 6.855 MB / 1.107 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.002082/1.322, allocations: 1.231 MB / 1.377 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/1.323, allocations: 177.6 kB / 1.377 GB, free: 5.43 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/1.327, allocations: 2.745 MB / 1.38 GB, free: 2.664 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.327, allocations: 8 kB / 1.38 GB, free: 2.656 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.327, allocations: 4 kB / 1.38 GB, free: 2.652 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.327, allocations: 3.984 kB / 1.38 GB, free: 2.648 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.33, allocations: 1.488 MB / 1.381 GB, free: 1.102 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.33, allocations: 0 / 1.381 GB, free: 1.102 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/1.33, allocations: 163.7 kB / 1.381 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/1.33, allocations: 4 kB / 1.381 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-05/1.331, allocations: 39.98 kB / 1.381 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/1.331, allocations: 0 / 1.381 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.331, allocations: 4 kB / 1.381 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/1.334, allocations: 2.64 MB / 1.384 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007834/1.335, allocations: 426.3 kB / 1.384 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/1.335, allocations: 31.91 kB / 1.384 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/1.336, allocations: 71.92 kB / 1.384 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.337, allocations: 84.89 kB / 1.384 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.337, allocations: 55.88 kB / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004551/1.341, allocations: 4.648 MB / 1.389 GB, free: 8.875 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.11e-07/1.341, allocations: 0 / 1.389 GB, free: 8.875 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003253/1.345, allocations: 1.19 MB / 1.39 GB, free: 7.684 MB / 1.123 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.002994/1.348, allocations: 0.9545 MB / 1.391 GB, free: 6.902 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01787/1.365, allocations: 18.98 MB / 1.41 GB, free: 3.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.365, allocations: 320 / 1.41 GB, free: 3.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002347/1.368, allocations: 2.243 MB / 1.412 GB, free: 1.66 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.37, allocations: 351.8 kB / 1.412 GB, free: 1.332 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/1.378, allocations: 5.479 MB / 1.417 GB, free: 11.82 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.379, allocations: 1.537 MB / 1.419 GB, free: 10.27 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/1.38, allocations: 171.4 kB / 1.419 GB, free: 10.1 MB / 1.154 GB Notification: Performance of SimCode: time 9.92e-07/1.38, allocations: 0 / 1.419 GB, free: 10.1 MB / 1.154 GB Notification: Performance of Templates: time 0.07105/1.451, allocations: 46.23 MB / 1.464 GB, free: 12.68 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)