Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 99.55 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.001021/0.001021, 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005498/0.0005498, allocations: 17.45 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2722, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007224/0.2795, allocations: 5.967 MB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.704/0.9835, allocations: 131.9 MB / 0.9218 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.9849, allocations: 30.94 kB / 0.9218 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.9894, allocations: 1.427 MB / 0.9232 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.9924, allocations: 0.9235 MB / 0.9241 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.9957, allocations: 0.9953 MB / 0.9251 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00435/1, allocations: 2.652 MB / 0.9277 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/1.002, allocations: 0.9677 MB / 0.9286 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/1.005, allocations: 1.244 MB / 0.9298 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/1.007, allocations: 1.032 MB / 0.9308 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003488/1.007, allocations: 64.28 kB / 0.9309 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005571/1.013, allocations: 1.879 MB / 0.9327 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006775/1.02, allocations: 4.551 MB / 0.9372 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004205/1.024, allocations: 1.216 MB / 0.9384 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0191/1.043, allocations: 15.1 MB / 0.9531 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.043, allocations: 0 / 0.9531 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.985e-06/1.043, allocations: 0 / 0.9531 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004553/1.043, allocations: 0 / 0.9531 GB, free: 0.4922 MB / 0.7169 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.03681/1.08, allocations: 11.31 MB / 0.9642 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.08, allocations: 16.3 kB / 0.9642 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008046/1.088, allocations: 0.907 MB / 0.9651 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.725/2.813, allocations: 0.9547 GB / 1.92 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/2.813, allocations: 162.9 kB / 1.92 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008435/2.814, allocations: 235.1 kB / 1.92 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004126/2.818, allocations: 1.991 MB / 1.922 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/2.818, allocations: 4 kB / 1.922 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/2.819, allocations: 68 kB / 1.922 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/2.819, allocations: 33.89 kB / 1.922 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/2.822, allocations: 2.138 MB / 1.924 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.755/3.577, allocations: 242.4 MB / 2.161 GB, free: 335.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/3.579, allocations: 1.508 MB / 2.162 GB, free: 334.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/3.58, allocations: 41.48 kB / 2.163 GB, free: 334.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/3.581, allocations: 1.005 MB / 2.164 GB, free: 333.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 2.735e-06/3.581, allocations: 0 / 2.164 GB, free: 333.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.01187/3.593, allocations: 3.499 MB / 2.167 GB, free: 330.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/3.593, allocations: 366.2 kB / 2.167 GB, free: 330.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.993/6.586, allocations: 1.182 GB / 3.35 GB, free: 340.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009844/6.587, allocations: 81.7 kB / 3.35 GB, free: 340.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.009413/6.597, allocations: 3.703 MB / 3.353 GB, free: 336.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/6.598, allocations: 417.8 kB / 3.354 GB, free: 336.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/6.598, allocations: 64.44 kB / 3.354 GB, free: 336.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002773/6.598, allocations: 435.5 kB / 3.354 GB, free: 336.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/6.6, allocations: 1.619 MB / 3.356 GB, free: 334.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/6.603, allocations: 2.555 MB / 3.358 GB, free: 332.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/6.606, allocations: 2.153 MB / 3.361 GB, free: 330.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/6.606, allocations: 8 kB / 3.361 GB, free: 330.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01482/6.621, allocations: 5.342 MB / 3.366 GB, free: 325.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/6.621, allocations: 207.2 kB / 3.366 GB, free: 325 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-05/6.621, allocations: 28 kB / 3.366 GB, free: 325 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/6.622, allocations: 127.5 kB / 3.366 GB, free: 324.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/6.624, allocations: 0.5926 MB / 3.367 GB, free: 324.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/6.626, allocations: 1.59 MB / 3.368 GB, free: 322.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/6.638, allocations: 1.176 MB / 3.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/6.639, allocations: 138 kB / 3.37 GB, free: 321.4 MB / 0.9981 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.01049/6.65, allocations: 3.828 MB / 3.373 GB, free: 317.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007781/6.658, allocations: 0.7362 MB / 3.374 GB, free: 317 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009883/6.667, allocations: 3.715 MB / 3.378 GB, free: 313.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/6.668, allocations: 12 kB / 3.378 GB, free: 313.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/6.668, allocations: 3.281 kB / 3.378 GB, free: 313.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/6.668, allocations: 7.969 kB / 3.378 GB, free: 313.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/6.706, allocations: 11.71 MB / 3.389 GB, free: 301.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/6.706, allocations: 0 / 3.389 GB, free: 301.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/6.707, allocations: 206 kB / 3.389 GB, free: 301.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005059/6.707, allocations: 84.77 kB / 3.389 GB, free: 301.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/6.707, allocations: 31.98 kB / 3.389 GB, free: 301.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/6.709, allocations: 1.562 MB / 3.391 GB, free: 299.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/6.709, allocations: 0 / 3.391 GB, free: 299.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/6.72, allocations: 3.288 MB / 3.394 GB, free: 296.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01256/6.732, allocations: 3.125 MB / 3.397 GB, free: 293 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008199/6.741, allocations: 32.06 kB / 3.397 GB, free: 293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009948/6.751, allocations: 0.7655 MB / 3.398 GB, free: 292.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/6.751, allocations: 88.05 kB / 3.398 GB, free: 292.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/6.752, allocations: 71.28 kB / 3.398 GB, free: 292.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.913/8.664, allocations: 0.9476 GB / 4.346 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/8.664, allocations: 1.062 kB / 4.346 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0134/8.678, allocations: 1.803 MB / 4.347 GB, free: 128.5 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: 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.003585/8.681, allocations: 0.9488 MB / 4.348 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006298/8.688, allocations: 5.07 MB / 4.353 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.688, allocations: 0 / 4.353 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/8.69, allocations: 2.406 MB / 4.356 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/8.697, allocations: 0.7518 MB / 4.356 GB, free: 119.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03724/8.735, allocations: 18.39 MB / 4.374 GB, free: 101.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009904/8.745, allocations: 4.763 MB / 4.379 GB, free: 96.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01017/8.755, allocations: 3.024 MB / 4.382 GB, free: 93.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007685/8.762, allocations: 1.19 MB / 4.383 GB, free: 92.27 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/8.763, allocations: 0 / 4.383 GB, free: 92.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.9068/9.669, allocations: 427.2 MB / 4.8 GB, free: 78.85 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: