Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.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.7.0.x_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.0009117/0.0009148, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009487/0.0009486, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.652/1.652, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008769/0.0008769, allocations: 16 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6557, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007139/0.6629, allocations: 4.89 MB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.8439, allocations: 131.1 MB / 0.8607 GB, free: 3.129 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.8452, allocations: 19.88 kB / 0.8608 GB, free: 3.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.8498, allocations: 1.308 MB / 0.862 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.8521, allocations: 0.6145 MB / 0.8626 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.8545, allocations: 0.7686 MB / 0.8634 GB, free: 432 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.857, allocations: 1.779 MB / 0.8651 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.8581, allocations: 0.6948 MB / 0.8658 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.8598, allocations: 0.8445 MB / 0.8666 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009981/0.8608, allocations: 0.6691 MB / 0.8673 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.8609, allocations: 48 kB / 0.8673 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.8643, allocations: 1.654 MB / 0.8689 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.8658, allocations: 1.867 MB / 0.8708 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.8664, allocations: 0.5582 MB / 0.8713 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.8735, allocations: 6.136 MB / 0.8773 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8735, allocations: 0 / 0.8773 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8736, allocations: 0 / 0.8773 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001008/0.8737, allocations: 0 / 0.8773 GB, free: 2.109 MB / 0.6856 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.01218/0.8858, allocations: 5.003 MB / 0.8822 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8859, allocations: 12.03 kB / 0.8822 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.8881, allocations: 462.8 kB / 0.8826 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6817/1.57, allocations: 307.4 MB / 1.183 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/1.57, allocations: 132.4 kB / 1.183 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005946/1.571, allocations: 173.9 kB / 1.183 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/1.574, allocations: 1.311 MB / 1.184 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/1.574, allocations: 4 kB / 1.184 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/1.574, allocations: 48 kB / 1.184 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/1.575, allocations: 24 kB / 1.184 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/1.578, allocations: 1.417 MB / 1.186 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6445/2.222, allocations: 76.34 MB / 1.26 GB, free: 303.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/2.224, allocations: 1.145 MB / 1.262 GB, free: 302.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/2.224, allocations: 36.36 kB / 1.262 GB, free: 302.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000831/2.225, allocations: 0.655 MB / 1.262 GB, free: 302.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=106): time 3.136e-06/2.225, allocations: 0 / 1.262 GB, free: 302.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=106): time 0.004053/2.229, allocations: 2.261 MB / 1.264 GB, free: 300.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/2.229, allocations: 346 kB / 1.265 GB, free: 300 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8925/3.122, allocations: 379.7 MB / 1.636 GB, free: 245 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006046/3.122, allocations: 65.7 kB / 1.636 GB, free: 245 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/3.125, allocations: 1.568 MB / 1.637 GB, free: 243.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/3.125, allocations: 352.5 kB / 1.637 GB, free: 243.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/3.126, allocations: 44 kB / 1.637 GB, free: 243.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002867/3.126, allocations: 410 kB / 1.638 GB, free: 242.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/3.128, allocations: 1.163 MB / 1.639 GB, free: 241.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/3.13, allocations: 1.871 MB / 1.641 GB, free: 239.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/3.133, allocations: 1.586 MB / 1.642 GB, free: 237.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/3.133, allocations: 9.203 kB / 1.642 GB, free: 237.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.006922/3.14, allocations: 3.678 MB / 1.646 GB, free: 234.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/3.14, allocations: 190.2 kB / 1.646 GB, free: 234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/3.14, allocations: 23.75 kB / 1.646 GB, free: 233.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/3.14, allocations: 36 kB / 1.646 GB, free: 233.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/3.142, allocations: 455.2 kB / 1.647 GB, free: 233.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.156e-05/3.142, allocations: 47.8 kB / 1.647 GB, free: 233.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/3.146, allocations: 0.5284 MB / 1.647 GB, free: 232.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/3.147, allocations: 112 kB / 1.647 GB, free: 232.8 MB / 0.8575 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.003153/3.15, allocations: 1.642 MB / 1.649 GB, free: 231.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/3.152, allocations: 342 kB / 1.649 GB, free: 230.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/3.156, allocations: 2.441 MB / 1.652 GB, free: 228.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/3.156, allocations: 8 kB / 1.652 GB, free: 228.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/3.156, allocations: 3.938 kB / 1.652 GB, free: 228.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/3.156, allocations: 7.984 kB / 1.652 GB, free: 228.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/3.167, allocations: 5.628 MB / 1.657 GB, free: 222.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/3.167, allocations: 3.984 kB / 1.657 GB, free: 222.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/3.168, allocations: 155.8 kB / 1.657 GB, free: 222.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/3.168, allocations: 4 kB / 1.657 GB, free: 222.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/3.168, allocations: 35.08 kB / 1.657 GB, free: 222.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/3.168, allocations: 8 kB / 1.657 GB, free: 222.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.168, allocations: 0 / 1.657 GB, free: 222.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/3.172, allocations: 2.274 MB / 1.66 GB, free: 220.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003166/3.175, allocations: 1.233 MB / 1.661 GB, free: 218.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/3.177, allocations: 20 kB / 1.661 GB, free: 218.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002888/3.18, allocations: 300.7 kB / 1.661 GB, free: 218.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/3.18, allocations: 70.17 kB / 1.661 GB, free: 218.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/3.18, allocations: 47.97 kB / 1.661 GB, free: 218.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.6941/3.874, allocations: 305.4 MB / 1.959 GB, free: 269.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.012e-06/3.874, allocations: 0 / 1.959 GB, free: 269.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004639/3.879, allocations: 1.169 MB / 1.961 GB, free: 268.5 MB / 0.8731 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.002108/3.881, allocations: 0.9022 MB / 1.961 GB, free: 267.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003734/3.885, allocations: 4.03 MB / 1.965 GB, free: 263.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/3.885, allocations: 0 / 1.965 GB, free: 263.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/3.886, allocations: 1.958 MB / 1.967 GB, free: 261.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/3.889, allocations: 401.9 kB / 1.968 GB, free: 261.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/3.899, allocations: 8.255 MB / 1.976 GB, free: 253.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/3.901, allocations: 2.386 MB / 1.978 GB, free: 250.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002843/3.904, allocations: 1.27 MB / 1.979 GB, free: 249.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/3.905, allocations: 487.2 kB / 1.98 GB, free: 249.1 MB / 0.8731 GB Notification: Performance of SimCode: time 8.71e-07/3.905, allocations: 0 / 1.98 GB, free: 249.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.1657/4.071, allocations: 151.9 MB / 2.128 GB, free: 97.75 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: