Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_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.001047/0.001047, allocations: 104.6 kB / 16.41 MB, free: 6.449 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.00104/0.00104, allocations: 189.4 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8633, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01032/0.8737, allocations: 8.531 MB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1716/1.045, allocations: 159.4 MB / 1.372 GB, free: 5.035 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.047, allocations: 35.81 kB / 1.373 GB, free: 5 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006269/1.053, allocations: 1.992 MB / 1.374 GB, free: 3.004 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004214/1.058, allocations: 1.252 MB / 1.376 GB, free: 1.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/1.062, allocations: 1.451 MB / 1.377 GB, free: 312 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006362/1.068, allocations: 5.434 MB / 1.382 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/1.07, allocations: 1.227 MB / 1.384 GB, free: 9.582 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/1.073, allocations: 1.73 MB / 1.385 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/1.076, allocations: 1.561 MB / 1.387 GB, free: 6.281 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008825/1.077, allocations: 292 kB / 1.387 GB, free: 5.996 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004928/1.082, allocations: 2.563 MB / 1.39 GB, free: 3.43 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/1.085, allocations: 4.374 MB / 1.394 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002978/1.088, allocations: 1.73 MB / 1.396 GB, free: 13.31 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009295/1.098, allocations: 6.299 MB / 1.402 GB, free: 6.996 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.098, allocations: 0 / 1.402 GB, free: 6.996 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.255e-06/1.098, allocations: 0 / 1.402 GB, free: 6.996 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001728/1.098, allocations: 7.922 kB / 1.402 GB, free: 6.988 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.009144/1.107, allocations: 4.186 MB / 1.406 GB, free: 2.727 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.107, allocations: 11.97 kB / 1.406 GB, free: 2.715 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.109, allocations: 428.4 kB / 1.406 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/1.122, allocations: 12.33 MB / 1.418 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/1.122, allocations: 179.1 kB / 1.418 GB, free: 5.719 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/1.122, allocations: 232 kB / 1.419 GB, free: 5.492 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/1.126, allocations: 2.373 MB / 1.421 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.126, allocations: 0 / 1.421 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.126, allocations: 68 kB / 1.421 GB, free: 2.992 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/1.126, allocations: 44 kB / 1.421 GB, free: 2.949 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/1.13, allocations: 2.463 MB / 1.423 GB, free: 492 kB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/1.15, allocations: 15.48 MB / 1.439 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/1.153, allocations: 1.995 MB / 1.441 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.155, allocations: 1.277 MB / 1.442 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/1.155, allocations: 41.09 kB / 1.442 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002054/1.157, allocations: 1.354 MB / 1.443 GB, free: 12.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 3.607e-06/1.157, allocations: 4 kB / 1.443 GB, free: 12.06 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.007079/1.164, allocations: 3.815 MB / 1.447 GB, free: 8.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/1.165, allocations: 362.5 kB / 1.447 GB, free: 7.812 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.031/1.196, allocations: 20.6 MB / 1.467 GB, free: 3.188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.196, allocations: 85.7 kB / 1.467 GB, free: 3.098 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.198, allocations: 1.163 MB / 1.469 GB, free: 1.922 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006715/1.199, allocations: 469.5 kB / 1.469 GB, free: 1.457 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005186/1.204, allocations: 4.927 MB / 1.474 GB, free: 12.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.204, allocations: 301.1 kB / 1.474 GB, free: 12.2 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0352/1.239, allocations: 38.68 MB / 1.512 GB, free: 5.504 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03885/1.278, allocations: 40.07 MB / 1.551 GB, free: 13.17 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6914/1.969, allocations: 47.72 MB / 1.598 GB, free: 323.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-05/1.969, allocations: 8 kB / 1.598 GB, free: 323.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06585/2.035, allocations: 90.97 MB / 1.686 GB, free: 235.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/2.036, allocations: 203.9 kB / 1.687 GB, free: 235.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/2.036, allocations: 20 kB / 1.687 GB, free: 235.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/2.036, allocations: 108.8 kB / 1.687 GB, free: 235.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/2.039, allocations: 0.6122 MB / 1.687 GB, free: 235 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/2.041, allocations: 1.679 MB / 1.689 GB, free: 233.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/2.044, allocations: 363.8 kB / 1.689 GB, free: 232.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004912/2.044, allocations: 155.7 kB / 1.69 GB, free: 232.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002436/2.047, allocations: 2.51 MB / 1.692 GB, free: 230.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/2.047, allocations: 256.5 kB / 1.692 GB, free: 230 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/2.052, allocations: 3.479 MB / 1.696 GB, free: 226.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/2.052, allocations: 12 kB / 1.696 GB, free: 226.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.052, allocations: 7.938 kB / 1.696 GB, free: 226.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/2.052, allocations: 7.969 kB / 1.696 GB, free: 226.5 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/2.054, allocations: 2.089 MB / 1.698 GB, free: 224.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/2.054, allocations: 0 / 1.698 GB, free: 224.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/2.055, allocations: 203.6 kB / 1.698 GB, free: 224.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004331/2.056, allocations: 72.78 kB / 1.698 GB, free: 224.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/2.056, allocations: 51.19 kB / 1.698 GB, free: 224.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/2.057, allocations: 1.649 MB / 1.7 GB, free: 222.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.057, allocations: 7.938 kB / 1.7 GB, free: 222.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/2.062, allocations: 3.333 MB / 1.703 GB, free: 218.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/2.063, allocations: 0.548 MB / 1.703 GB, free: 218.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/2.063, allocations: 40 kB / 1.703 GB, free: 218.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/2.064, allocations: 91.22 kB / 1.704 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/2.064, allocations: 97.17 kB / 1.704 GB, free: 218.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/2.064, allocations: 67.91 kB / 1.704 GB, free: 218.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007699/2.072, allocations: 12.8 MB / 1.716 GB, free: 205.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.6e-07/2.072, allocations: 0 / 1.716 GB, free: 205.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004868/2.077, allocations: 1.784 MB / 1.718 GB, free: 203.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002667/2.08, allocations: 1.016 MB / 1.719 GB, free: 202.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03133/2.111, allocations: 50.92 MB / 1.769 GB, free: 151.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/2.111, allocations: 4 kB / 1.769 GB, free: 151.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/2.114, allocations: 2.713 MB / 1.771 GB, free: 149.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/2.116, allocations: 490.5 kB / 1.772 GB, free: 148.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/2.128, allocations: 9.79 MB / 1.781 GB, free: 138.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/2.13, allocations: 2.032 MB / 1.783 GB, free: 136.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/2.131, allocations: 235.4 kB / 1.784 GB, free: 136.6 MB / 1.279 GB Notification: Performance of SimCode: time 1.032e-06/2.131, allocations: 0 / 1.784 GB, free: 136.6 MB / 1.279 GB Notification: Performance of Templates: time 0.1134/2.244, allocations: 98.29 MB / 1.88 GB, free: 39.63 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)