Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_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.001489/0.00149, allocations: 99.86 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.001723/0.001723, 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.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.544/1.544, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0005264/0.0005264, allocations: 16 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5667, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00766/0.5744, allocations: 5.969 MB / 0.7338 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.7426, allocations: 132 MB / 0.8627 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.7443, allocations: 31.75 kB / 0.8627 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004654/0.749, allocations: 1.421 MB / 0.8641 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.7521, allocations: 0.9272 MB / 0.865 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.7551, allocations: 0.9994 MB / 0.866 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004415/0.7596, allocations: 2.644 MB / 0.8686 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.7612, allocations: 0.9708 MB / 0.8695 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.764, allocations: 1.238 MB / 0.8707 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.7659, allocations: 1.035 MB / 0.8717 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.7661, allocations: 68 kB / 0.8718 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004382/0.7705, allocations: 1.88 MB / 0.8736 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004504/0.775, allocations: 4.541 MB / 0.8781 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.7775, allocations: 1.212 MB / 0.8792 GB, free: 88 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.794, allocations: 15.1 MB / 0.894 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.794, allocations: 4 kB / 0.894 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.705e-06/0.794, allocations: 0 / 0.894 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003861/0.7944, allocations: 0 / 0.894 GB, free: 0.9492 MB / 0.7012 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.02734/0.8218, allocations: 11.31 MB / 0.905 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8218, allocations: 15.97 kB / 0.905 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.8271, allocations: 0.9148 MB / 0.9059 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.361/3.188, allocations: 0.9547 GB / 1.861 GB, free: 52.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/3.188, allocations: 166.9 kB / 1.861 GB, free: 52.35 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/3.189, allocations: 224 kB / 1.861 GB, free: 52.13 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/3.192, allocations: 2.002 MB / 1.863 GB, free: 50.07 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/3.192, allocations: 3.938 kB / 1.863 GB, free: 50.07 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/3.192, allocations: 64 kB / 1.863 GB, free: 50 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/3.192, allocations: 38.2 kB / 1.863 GB, free: 49.97 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/3.195, allocations: 2.127 MB / 1.865 GB, free: 47.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5631/3.758, allocations: 242.5 MB / 2.102 GB, free: 158.4 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/3.76, allocations: 1.504 MB / 2.103 GB, free: 156.9 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/3.76, allocations: 38.03 kB / 2.103 GB, free: 156.9 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/3.762, allocations: 1.011 MB / 2.104 GB, free: 155.9 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=126): time 2.935e-06/3.762, allocations: 0 / 2.104 GB, free: 155.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126): time 0.01012/3.772, allocations: 3.494 MB / 2.108 GB, free: 152.7 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/3.772, allocations: 367.9 kB / 2.108 GB, free: 152.3 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273/7.045, allocations: 1.182 GB / 3.291 GB, free: 325.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000595/7.046, allocations: 85.2 kB / 3.291 GB, free: 325.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.005692/7.052, allocations: 3.698 MB / 3.294 GB, free: 322.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005921/7.052, allocations: 421.8 kB / 3.295 GB, free: 322.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/7.052, allocations: 55.62 kB / 3.295 GB, free: 322.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002323/7.053, allocations: 435.3 kB / 3.295 GB, free: 322.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/7.055, allocations: 1.62 MB / 3.297 GB, free: 321.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/7.058, allocations: 2.558 MB / 3.299 GB, free: 320.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/7.061, allocations: 2.145 MB / 3.301 GB, free: 319.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/7.061, allocations: 11.81 kB / 3.301 GB, free: 319.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.0118/7.073, allocations: 5.341 MB / 3.307 GB, free: 317.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/7.073, allocations: 207.6 kB / 3.307 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-05/7.073, allocations: 29.48 kB / 3.307 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/7.074, allocations: 128 kB / 3.307 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/7.076, allocations: 0.5983 MB / 3.308 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/7.078, allocations: 1.583 MB / 3.309 GB, free: 315.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007665/7.085, allocations: 1.17 MB / 3.31 GB, free: 315.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/7.086, allocations: 142.7 kB / 3.31 GB, free: 315.4 MB / 0.9044 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.006886/7.093, allocations: 3.824 MB / 3.314 GB, free: 314.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005047/7.098, allocations: 0.742 MB / 3.315 GB, free: 313.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006861/7.105, allocations: 3.716 MB / 3.318 GB, free: 312.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/7.105, allocations: 11.12 kB / 3.318 GB, free: 312.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/7.105, allocations: 0 / 3.318 GB, free: 312.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/7.105, allocations: 3.984 kB / 3.318 GB, free: 312.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/7.126, allocations: 11.7 MB / 3.33 GB, free: 301.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/7.126, allocations: 4 kB / 3.33 GB, free: 301.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/7.127, allocations: 207.7 kB / 3.33 GB, free: 301.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/7.127, allocations: 84.77 kB / 3.33 GB, free: 301.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/7.128, allocations: 40.77 kB / 3.33 GB, free: 301.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/7.129, allocations: 1.559 MB / 3.332 GB, free: 299.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/7.129, allocations: 3.953 kB / 3.332 GB, free: 299.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/7.137, allocations: 3.28 MB / 3.335 GB, free: 296.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009075/7.146, allocations: 3.125 MB / 3.338 GB, free: 292.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003827/7.15, allocations: 31.95 kB / 3.338 GB, free: 292.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006277/7.156, allocations: 0.7733 MB / 3.339 GB, free: 292.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/7.156, allocations: 80.89 kB / 3.339 GB, free: 292 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/7.156, allocations: 61.06 kB / 3.339 GB, free: 292 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 1.731/8.887, allocations: 0.9476 GB / 4.287 GB, free: 31.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.91e-07/8.887, allocations: 0 / 4.287 GB, free: 31.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01131/8.899, allocations: 1.812 MB / 4.288 GB, free: 29.85 MB / 0.9044 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.003025/8.902, allocations: 0.9563 MB / 4.289 GB, free: 29.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006638/8.909, allocations: 5.076 MB / 4.294 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/8.909, allocations: 0 / 4.294 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/8.911, allocations: 2.397 MB / 4.297 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007596/8.918, allocations: 0.7559 MB / 4.297 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/8.95, allocations: 18.4 MB / 4.315 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5593/9.509, allocations: 4.744 MB / 4.32 GB, free: 343.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.01366/9.523, allocations: 3.021 MB / 4.323 GB, free: 342.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00826/9.531, allocations: 1.193 MB / 4.324 GB, free: 342.8 MB / 0.9044 GB Notification: Performance of SimCode: time 1.663e-06/9.531, allocations: 2.031 kB / 4.324 GB, free: 342.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.9755/10.51, allocations: 427.2 MB / 4.741 GB, free: 292.9 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: