Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000792/0.0007921, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005205/0.005205, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 10.22 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3718, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007801/0.3796, allocations: 6.766 MB / 1.081 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1826/0.5622, allocations: 151.1 MB / 1.228 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.5634, allocations: 23.88 kB / 1.228 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.5677, allocations: 1.662 MB / 1.23 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.5701, allocations: 0.7335 MB / 1.231 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.5723, allocations: 0.9041 MB / 1.232 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003675/0.576, allocations: 3.496 MB / 1.235 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5773, allocations: 0.8594 MB / 1.236 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.5788, allocations: 0.9222 MB / 1.237 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.58, allocations: 0.8803 MB / 1.238 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.5802, allocations: 48 kB / 1.238 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.5835, allocations: 1.966 MB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.5849, allocations: 1.743 MB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.5858, allocations: 0.9879 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.5909, allocations: 4.167 MB / 1.246 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5909, allocations: 4 kB / 1.246 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5909, allocations: 4 kB / 1.246 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.252e-05/0.591, allocations: 0 / 1.246 GB, free: 6.609 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.004571/0.5956, allocations: 2.541 MB / 1.249 GB, free: 4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5956, allocations: 12.03 kB / 1.249 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.5965, allocations: 309.8 kB / 1.249 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5824/1.179, allocations: 4.545 MB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.179, allocations: 131.9 kB / 1.254 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/1.18, allocations: 179.5 kB / 1.254 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/1.185, allocations: 1.675 MB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/1.185, allocations: 0 / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/1.185, allocations: 55.17 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.185, allocations: 30.06 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/1.189, allocations: 1.735 MB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/1.201, allocations: 7.518 MB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/1.204, allocations: 1.587 MB / 1.266 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/1.205, allocations: 1.04 MB / 1.267 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.205, allocations: 35.28 kB / 1.267 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.207, allocations: 0.9875 MB / 1.268 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.657e-06/1.207, allocations: 0 / 1.268 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.005476/1.212, allocations: 2.856 MB / 1.271 GB, free: 175 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/1.213, allocations: 346 kB / 1.271 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.225, allocations: 7.381 MB / 1.278 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005518/1.226, allocations: 73.81 kB / 1.278 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/1.226, allocations: 0.791 MB / 1.279 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/1.227, allocations: 393.5 kB / 1.28 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/1.229, allocations: 1.608 MB / 1.281 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.229, allocations: 305.6 kB / 1.281 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01257/1.241, allocations: 13 MB / 1.294 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/1.253, allocations: 13.7 MB / 1.308 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.267, allocations: 17.11 MB / 1.324 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-05/1.267, allocations: 0 / 1.324 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02894/1.296, allocations: 31.28 MB / 1.355 GB, free: 104.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/1.297, allocations: 181.6 kB / 1.355 GB, free: 104 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/1.297, allocations: 12 kB / 1.355 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.373e-05/1.297, allocations: 20 kB / 1.355 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.299, allocations: 483.2 kB / 1.355 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.871e-05/1.299, allocations: 27.94 kB / 1.355 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.301, allocations: 299.4 kB / 1.356 GB, free: 103.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/1.302, allocations: 111 kB / 1.356 GB, free: 103 MB / 0.9981 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.001863/1.303, allocations: 1.234 MB / 1.357 GB, free: 101.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/1.304, allocations: 181.6 kB / 1.357 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.307, allocations: 2.754 MB / 1.36 GB, free: 98.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.307, allocations: 12 kB / 1.36 GB, free: 98.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.308, allocations: 4 kB / 1.36 GB, free: 98.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.308, allocations: 3.984 kB / 1.36 GB, free: 98.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/1.31, allocations: 1.478 MB / 1.361 GB, free: 97.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.31, allocations: 0 / 1.361 GB, free: 97.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/1.31, allocations: 162.5 kB / 1.362 GB, free: 97.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/1.31, allocations: 7.938 kB / 1.362 GB, free: 97.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/1.311, allocations: 35.97 kB / 1.362 GB, free: 97.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.311, allocations: 5.562 kB / 1.362 GB, free: 97.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.311, allocations: 0 / 1.362 GB, free: 97.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/1.313, allocations: 2.656 MB / 1.364 GB, free: 94.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/1.314, allocations: 462.1 kB / 1.365 GB, free: 93.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.314, allocations: 28 kB / 1.365 GB, free: 93.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/1.315, allocations: 105.4 kB / 1.365 GB, free: 93.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.315, allocations: 80.89 kB / 1.365 GB, free: 93.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/1.315, allocations: 47.97 kB / 1.365 GB, free: 93.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003271/1.319, allocations: 4.652 MB / 1.369 GB, free: 89.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.319, allocations: 0 / 1.369 GB, free: 89.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002741/1.321, allocations: 1.211 MB / 1.371 GB, free: 87.89 MB / 0.9981 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.002156/1.324, allocations: 0.9532 MB / 1.372 GB, free: 87.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.337, allocations: 18.98 MB / 1.39 GB, free: 68.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.337, allocations: 1 kB / 1.39 GB, free: 68.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.339, allocations: 2.252 MB / 1.392 GB, free: 65.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.341, allocations: 339.8 kB / 1.393 GB, free: 65.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.353, allocations: 9.638 MB / 1.402 GB, free: 55.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/1.355, allocations: 2.359 MB / 1.404 GB, free: 53.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001299/1.357, allocations: 448.8 kB / 1.405 GB, free: 53.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/1.357, allocations: 163.4 kB / 1.405 GB, free: 53 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.357, allocations: 0 / 1.405 GB, free: 53 MB / 0.9981 GB Notification: Performance of Templates: time 0.05285/1.41, allocations: 33.04 MB / 1.437 GB, free: 20.16 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)