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.001394/0.001394, allocations: 105.6 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.001571/0.001571, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.566/1.566, 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.205/2.205, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9513, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008106/0.9594, allocations: 6.048 MB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2102/1.17, allocations: 155.4 MB / 1.246 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/1.172, allocations: 25.44 kB / 1.246 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005393/1.177, allocations: 1.78 MB / 1.248 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/1.18, allocations: 0.7646 MB / 1.249 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/1.183, allocations: 1.017 MB / 1.25 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003959/1.187, allocations: 3.377 MB / 1.253 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.188, allocations: 0.9516 MB / 1.254 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/1.19, allocations: 1.138 MB / 1.255 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/1.192, allocations: 1.031 MB / 1.256 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005855/1.192, allocations: 196 kB / 1.256 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/1.197, allocations: 2.235 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/1.199, allocations: 1.911 MB / 1.26 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/1.201, allocations: 1.146 MB / 1.261 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007173/1.208, allocations: 4.359 MB / 1.266 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.775e-05/1.208, allocations: 4 kB / 1.266 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.208, allocations: 3.938 kB / 1.266 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001066/1.208, allocations: 0 / 1.266 GB, free: 8.344 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.007286/1.216, allocations: 2.958 MB / 1.269 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.216, allocations: 8.031 kB / 1.269 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.217, allocations: 305.8 kB / 1.269 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/1.223, allocations: 4.568 MB / 1.273 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.223, allocations: 138.4 kB / 1.274 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/1.224, allocations: 184 kB / 1.274 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/1.227, allocations: 1.664 MB / 1.275 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/1.227, allocations: 0 / 1.275 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/1.227, allocations: 51.98 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.227, allocations: 32 kB / 1.275 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/1.23, allocations: 1.722 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/1.242, allocations: 6.996 MB / 1.284 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/1.245, allocations: 1.579 MB / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.246, allocations: 1.039 MB / 1.286 GB, free: 2.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/1.246, allocations: 37.19 kB / 1.286 GB, free: 2.801 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/1.248, allocations: 0.9811 MB / 1.287 GB, free: 1.809 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 3.206e-06/1.248, allocations: 0 / 1.287 GB, free: 1.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.004701/1.253, allocations: 2.851 MB / 1.29 GB, free: 14.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004074/1.253, allocations: 340.2 kB / 1.291 GB, free: 14.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.264, allocations: 7.392 MB / 1.298 GB, free: 7.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/1.264, allocations: 69.7 kB / 1.298 GB, free: 7.047 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009067/1.265, allocations: 0.792 MB / 1.299 GB, free: 6.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/1.266, allocations: 394.4 kB / 1.299 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00241/1.268, allocations: 1.88 MB / 1.301 GB, free: 3.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.268, allocations: 309.1 kB / 1.301 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/1.282, allocations: 12.98 MB / 1.314 GB, free: 6.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/1.296, allocations: 13.7 MB / 1.327 GB, free: 8.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/1.314, allocations: 17.1 MB / 1.344 GB, free: 7.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/1.314, allocations: 4 kB / 1.344 GB, free: 7.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03453/1.349, allocations: 31.26 MB / 1.374 GB, free: 7.945 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.349, allocations: 189.5 kB / 1.375 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.349, allocations: 8 kB / 1.375 GB, free: 7.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/1.349, allocations: 27.94 kB / 1.375 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/1.351, allocations: 475.2 kB / 1.375 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/1.351, allocations: 27.94 kB / 1.375 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.353, allocations: 285 kB / 1.375 GB, free: 6.949 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.353, allocations: 108 kB / 1.375 GB, free: 6.844 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.001594/1.355, allocations: 1.231 MB / 1.377 GB, free: 5.594 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/1.355, allocations: 177.6 kB / 1.377 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/1.359, allocations: 2.741 MB / 1.38 GB, free: 2.656 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.359, allocations: 12 kB / 1.38 GB, free: 2.645 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.359, allocations: 0 / 1.38 GB, free: 2.645 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.359, allocations: 7.969 kB / 1.38 GB, free: 2.637 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/1.361, allocations: 1.488 MB / 1.381 GB, free: 1.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.361, allocations: 0 / 1.381 GB, free: 1.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/1.362, allocations: 155.8 kB / 1.381 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.362, allocations: 7.984 kB / 1.381 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/1.362, allocations: 39.97 kB / 1.381 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.362, allocations: 4 kB / 1.381 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.362, allocations: 7.938 kB / 1.381 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/1.366, allocations: 2.636 MB / 1.384 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/1.366, allocations: 426.3 kB / 1.384 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.367, allocations: 35.84 kB / 1.384 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/1.367, allocations: 75.92 kB / 1.384 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.368, allocations: 84.88 kB / 1.384 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.368, allocations: 47.98 kB / 1.384 GB, free: 13.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004213/1.372, allocations: 4.644 MB / 1.389 GB, free: 8.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.11e-07/1.372, allocations: 4 kB / 1.389 GB, free: 8.863 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002803/1.375, allocations: 1.186 MB / 1.39 GB, free: 7.676 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.002296/1.377, allocations: 0.9609 MB / 1.391 GB, free: 6.887 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01789/1.395, allocations: 18.97 MB / 1.41 GB, free: 3.898 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.395, allocations: 0 / 1.41 GB, free: 3.898 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/1.398, allocations: 2.248 MB / 1.412 GB, free: 1.645 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/1.4, allocations: 352.2 kB / 1.412 GB, free: 1.316 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007734/1.407, allocations: 5.471 MB / 1.417 GB, free: 11.82 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.408, allocations: 1.543 MB / 1.419 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/1.409, allocations: 175.4 kB / 1.419 GB, free: 10.08 MB / 1.154 GB Notification: Performance of SimCode: time 7.41e-07/1.409, allocations: 0 / 1.419 GB, free: 10.08 MB / 1.154 GB Notification: Performance of Templates: time 0.07391/1.483, allocations: 46.22 MB / 1.464 GB, free: 12.67 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)