Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.3 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 179.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 97.67 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006729/0.0006729, allocations: 12.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3311, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.0059/0.337, allocations: 4.879 MB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8323/1.169, allocations: 131 MB / 1.112 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/1.171, allocations: 20.97 kB / 1.112 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005113/1.176, allocations: 1.31 MB / 1.113 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/1.179, allocations: 0.6157 MB / 1.114 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/1.182, allocations: 0.7622 MB / 1.115 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004022/1.186, allocations: 1.78 MB / 1.117 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.187, allocations: 0.701 MB / 1.117 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/1.19, allocations: 0.8486 MB / 1.118 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/1.192, allocations: 0.6668 MB / 1.119 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/1.193, allocations: 47.16 kB / 1.119 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006601/1.199, allocations: 1.652 MB / 1.12 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002476/1.202, allocations: 1.87 MB / 1.122 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.203, allocations: 0.5618 MB / 1.123 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.213, allocations: 6.155 MB / 1.129 GB, free: 15.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.214, allocations: 0 / 1.129 GB, free: 15.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.988e-06/1.214, allocations: 0 / 1.129 GB, free: 15.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002808/1.214, allocations: 0 / 1.129 GB, free: 15.06 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.01905/1.233, allocations: 5.002 MB / 1.134 GB, free: 12.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/1.233, allocations: 8.5 kB / 1.134 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/1.238, allocations: 467.3 kB / 1.134 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3127/1.551, allocations: 307.4 MB / 1.434 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/1.551, allocations: 122.2 kB / 1.434 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/1.552, allocations: 174.7 kB / 1.435 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.643/2.195, allocations: 1.313 MB / 1.436 GB, free: 375 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/2.195, allocations: 1.75 kB / 1.436 GB, free: 375 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/2.195, allocations: 52.19 kB / 1.436 GB, free: 375 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/2.195, allocations: 26.78 kB / 1.436 GB, free: 375 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/2.199, allocations: 1.416 MB / 1.437 GB, free: 375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07389/2.273, allocations: 76.35 MB / 1.512 GB, free: 324.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/2.275, allocations: 1.135 MB / 1.513 GB, free: 323.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/2.275, allocations: 36.98 kB / 1.513 GB, free: 323.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/2.276, allocations: 0.6623 MB / 1.514 GB, free: 323 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 4.588e-06/2.276, allocations: 4 kB / 1.514 GB, free: 323 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.005295/2.281, allocations: 2.259 MB / 1.516 GB, free: 320.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/2.282, allocations: 342.2 kB / 1.516 GB, free: 320.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9479/3.229, allocations: 379.7 MB / 1.887 GB, free: 337.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/3.23, allocations: 66.5 kB / 1.887 GB, free: 337.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/3.234, allocations: 1.569 MB / 1.889 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/3.235, allocations: 350.6 kB / 1.889 GB, free: 336.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/3.235, allocations: 46.69 kB / 1.889 GB, free: 336.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004262/3.236, allocations: 406.3 kB / 1.889 GB, free: 335.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/3.238, allocations: 1.16 MB / 1.89 GB, free: 334.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/3.24, allocations: 1.872 MB / 1.892 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/3.242, allocations: 1.592 MB / 1.894 GB, free: 331.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/3.242, allocations: 8 kB / 1.894 GB, free: 331.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.006428/3.248, allocations: 3.679 MB / 1.897 GB, free: 328 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/3.249, allocations: 182 kB / 1.898 GB, free: 327.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/3.249, allocations: 24 kB / 1.898 GB, free: 327.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.64e-05/3.249, allocations: 35.78 kB / 1.898 GB, free: 327.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/3.25, allocations: 461.9 kB / 1.898 GB, free: 327.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.602e-05/3.25, allocations: 49.14 kB / 1.898 GB, free: 327.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/3.254, allocations: 0.5359 MB / 1.899 GB, free: 326.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/3.255, allocations: 105.3 kB / 1.899 GB, free: 326.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002657/3.257, allocations: 1.637 MB / 1.9 GB, free: 325.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/3.259, allocations: 343.4 kB / 1.901 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/3.263, allocations: 2.44 MB / 1.903 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/3.263, allocations: 9.891 kB / 1.903 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/3.263, allocations: 0 / 1.903 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/3.263, allocations: 5.062 kB / 1.903 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008939/3.272, allocations: 5.642 MB / 1.909 GB, free: 316.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.272, allocations: 0 / 1.909 GB, free: 316.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/3.272, allocations: 151.8 kB / 1.909 GB, free: 316.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/3.272, allocations: 4 kB / 1.909 GB, free: 316.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/3.272, allocations: 35.98 kB / 1.909 GB, free: 316.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/3.272, allocations: 3.938 kB / 1.909 GB, free: 316.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.272, allocations: 7.984 kB / 1.909 GB, free: 316.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/3.276, allocations: 2.267 MB / 1.911 GB, free: 314.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/3.279, allocations: 1.237 MB / 1.912 GB, free: 313.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/3.28, allocations: 20 kB / 1.912 GB, free: 313.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/3.282, allocations: 300.6 kB / 1.913 GB, free: 312.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/3.282, allocations: 68.91 kB / 1.913 GB, free: 312.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/3.282, allocations: 43.98 kB / 1.913 GB, free: 312.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.2023/3.484, allocations: 305.4 MB / 2.211 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.244e-06/3.484, allocations: 0 / 2.211 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005004/3.489, allocations: 1.174 MB / 2.212 GB, free: 6.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002331/3.492, allocations: 0.8984 MB / 2.213 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004113/3.496, allocations: 4.03 MB / 2.217 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/3.496, allocations: 0 / 2.217 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.4278/3.924, allocations: 1.955 MB / 2.219 GB, free: 372.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/3.927, allocations: 404.8 kB / 2.219 GB, free: 372.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/3.942, allocations: 8.255 MB / 2.227 GB, free: 369.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004153/3.946, allocations: 2.388 MB / 2.23 GB, free: 368.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004972/3.951, allocations: 1.266 MB / 2.231 GB, free: 368.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/3.953, allocations: 490.5 kB / 2.231 GB, free: 368.2 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/3.953, allocations: 0 / 2.231 GB, free: 368.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.1833/4.137, allocations: 152 MB / 2.38 GB, free: 236.3 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)