Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.3 MB / 303.2 MB, free: 8.031 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.001028/0.001028, allocations: 189 kB / 371.9 MB, free: 10.24 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.575/1.575, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0009665/0.0009665, allocations: 93.45 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006474/0.0006475, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.28, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006124/0.2861, allocations: 5.971 MB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7476/1.034, allocations: 131.9 MB / 1.114 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/1.035, allocations: 27.44 kB / 1.114 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005397/1.041, allocations: 1.428 MB / 1.116 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/1.045, allocations: 0.9271 MB / 1.116 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/1.049, allocations: 0.9929 MB / 1.117 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005995/1.055, allocations: 2.65 MB / 1.12 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/1.057, allocations: 0.9833 MB / 1.121 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/1.061, allocations: 1.234 MB / 1.122 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/1.064, allocations: 1.042 MB / 1.123 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004882/1.064, allocations: 67.59 kB / 1.123 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/1.069, allocations: 1.878 MB / 1.125 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004291/1.074, allocations: 4.541 MB / 1.129 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003274/1.077, allocations: 1.217 MB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02358/1.1, allocations: 15.1 MB / 1.145 GB, free: 8.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.101, allocations: 0.9688 kB / 1.145 GB, free: 8.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.947e-06/1.101, allocations: 0 / 1.145 GB, free: 8.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000584/1.101, allocations: 1.859 kB / 1.145 GB, free: 8.738 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.04528/1.146, allocations: 11.31 MB / 1.156 GB, free: 2.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.146, allocations: 7.656 kB / 1.156 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008835/1.155, allocations: 0.9158 MB / 1.157 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.945/3.1, allocations: 0.9547 GB / 2.112 GB, free: 75.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/3.1, allocations: 162.9 kB / 2.112 GB, free: 74.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/3.101, allocations: 235.6 kB / 2.112 GB, free: 74.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/3.105, allocations: 1.995 MB / 2.114 GB, free: 72.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/3.105, allocations: 4 kB / 2.114 GB, free: 72.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/3.106, allocations: 63.14 kB / 2.114 GB, free: 72.51 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/3.106, allocations: 37.89 kB / 2.115 GB, free: 72.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/3.109, allocations: 2.131 MB / 2.117 GB, free: 70.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.573/3.682, allocations: 242.5 MB / 2.353 GB, free: 219.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/3.684, allocations: 1.5 MB / 2.355 GB, free: 218.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/3.684, allocations: 38.81 kB / 2.355 GB, free: 218.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/3.685, allocations: 1.009 MB / 2.356 GB, free: 217.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 3.827e-06/3.685, allocations: 0 / 2.356 GB, free: 217.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126): time 0.0101/3.696, allocations: 3.497 MB / 2.359 GB, free: 214 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/3.696, allocations: 367.7 kB / 2.36 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.967/6.663, allocations: 1.182 GB / 3.542 GB, free: 149.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008922/6.664, allocations: 85.55 kB / 3.542 GB, free: 149.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007319/6.671, allocations: 3.698 MB / 3.546 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/6.672, allocations: 429.6 kB / 3.546 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/6.672, allocations: 52 kB / 3.546 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002026/6.672, allocations: 439 kB / 3.547 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/6.674, allocations: 1.622 MB / 3.548 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/6.677, allocations: 2.545 MB / 3.551 GB, free: 140.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/6.679, allocations: 2.153 MB / 3.553 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/6.679, allocations: 8 kB / 3.553 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01358/6.693, allocations: 5.343 MB / 3.558 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/6.693, allocations: 205.9 kB / 3.558 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/6.693, allocations: 32 kB / 3.558 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/6.694, allocations: 120.8 kB / 3.558 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/6.696, allocations: 0.6044 MB / 3.559 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/6.698, allocations: 1.584 MB / 3.561 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009673/6.707, allocations: 1.17 MB / 3.562 GB, free: 129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005672/6.708, allocations: 144 kB / 3.562 GB, free: 128.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (329): * Single equations (assignments): 327 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009043/6.717, allocations: 3.814 MB / 3.566 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007011/6.724, allocations: 0.7478 MB / 3.566 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009143/6.733, allocations: 3.704 MB / 3.57 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/6.733, allocations: 16 kB / 3.57 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/6.733, allocations: 3.984 kB / 3.57 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/6.733, allocations: 5.109 kB / 3.57 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/6.766, allocations: 11.72 MB / 3.581 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/6.766, allocations: 0 / 3.581 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/6.767, allocations: 207.7 kB / 3.582 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/6.768, allocations: 84.78 kB / 3.582 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/6.768, allocations: 39.97 kB / 3.582 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/6.769, allocations: 1.547 MB / 3.583 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/6.769, allocations: 0 / 3.583 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/6.78, allocations: 3.286 MB / 3.586 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01485/6.795, allocations: 3.128 MB / 3.589 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00869/6.804, allocations: 31.95 kB / 3.589 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01113/6.815, allocations: 0.7733 MB / 3.59 GB, free: 99.49 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/6.816, allocations: 80.89 kB / 3.59 GB, free: 99.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/6.816, allocations: 63.72 kB / 3.59 GB, free: 99.35 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.679/9.495, allocations: 0.9476 GB / 4.538 GB, free: 258.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.21e-07/9.495, allocations: 0 / 4.538 GB, free: 258.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01348/9.508, allocations: 1.804 MB / 4.54 GB, free: 257.3 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/9.511, allocations: 0.9621 MB / 4.541 GB, free: 256.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005935/9.517, allocations: 5.078 MB / 4.546 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/9.517, allocations: 0 / 4.546 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/9.519, allocations: 2.403 MB / 4.548 GB, free: 249.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/9.529, allocations: 0.753 MB / 4.549 GB, free: 249 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/9.568, allocations: 18.38 MB / 4.567 GB, free: 230.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009002/9.577, allocations: 4.76 MB / 4.571 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01041/9.587, allocations: 3.019 MB / 4.574 GB, free: 222.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007778/9.595, allocations: 1.19 MB / 4.575 GB, free: 221.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.593e-06/9.595, allocations: 0 / 4.575 GB, free: 221.7 MB / 0.9636 GB Notification: Performance of Templates: time 1.007/10.6, allocations: 427.2 MB / 4.993 GB, free: 179.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)