Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001592/0.001592, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001811/0.001811, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7703, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009695/0.78, allocations: 7.307 MB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.9633, allocations: 159.3 MB / 1.251 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.965, allocations: 35.81 kB / 1.251 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.9702, allocations: 1.97 MB / 1.253 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.9738, allocations: 1.169 MB / 1.254 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.9776, allocations: 1.438 MB / 1.256 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005272/0.9828, allocations: 5.237 MB / 1.261 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.9847, allocations: 1.281 MB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.9871, allocations: 1.703 MB / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.9893, allocations: 1.526 MB / 1.265 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006626/0.99, allocations: 292 kB / 1.266 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.9942, allocations: 2.571 MB / 1.268 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003347/0.9975, allocations: 4.362 MB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.9992, allocations: 1.679 MB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00624/1.005, allocations: 6.248 MB / 1.28 GB, free: 9.527 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.005, allocations: 0 / 1.28 GB, free: 9.527 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/1.005, allocations: 0 / 1.28 GB, free: 9.527 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.69e-05/1.005, allocations: 0 / 1.28 GB, free: 9.527 MB / 1.014 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.006456/1.012, allocations: 4.153 MB / 1.284 GB, free: 5.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.012, allocations: 8.031 kB / 1.284 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.013, allocations: 428.4 kB / 1.285 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.025, allocations: 12.34 MB / 1.297 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.025, allocations: 175.1 kB / 1.297 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/1.025, allocations: 236 kB / 1.297 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/1.029, allocations: 2.385 MB / 1.299 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/1.029, allocations: 0 / 1.299 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.029, allocations: 64 kB / 1.299 GB, free: 5.547 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/1.029, allocations: 44 kB / 1.3 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/1.033, allocations: 2.459 MB / 1.302 GB, free: 3.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/1.051, allocations: 15 MB / 1.317 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/1.054, allocations: 1.976 MB / 1.318 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/1.055, allocations: 1.277 MB / 1.32 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/1.055, allocations: 41.09 kB / 1.32 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/1.057, allocations: 1.358 MB / 1.321 GB, free: 15.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 2.895e-06/1.057, allocations: 0 / 1.321 GB, free: 15.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.00634/1.063, allocations: 3.819 MB / 1.325 GB, free: 11.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/1.064, allocations: 370.5 kB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02872/1.092, allocations: 20.6 MB / 1.345 GB, free: 6.332 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/1.093, allocations: 85.7 kB / 1.345 GB, free: 6.242 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.094, allocations: 1.163 MB / 1.347 GB, free: 5.066 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/1.095, allocations: 469.4 kB / 1.347 GB, free: 4.602 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004149/1.099, allocations: 4.931 MB / 1.352 GB, free: 15.64 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/1.099, allocations: 301.1 kB / 1.352 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03369/1.133, allocations: 38.69 MB / 1.39 GB, free: 8.641 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0339/1.167, allocations: 40.08 MB / 1.429 GB, free: 316 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04133/1.208, allocations: 47.73 MB / 1.476 GB, free: 100 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/1.208, allocations: 8 kB / 1.476 GB, free: 92 kB / 1.201 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0846/1.293, allocations: 90.96 MB / 1.564 GB, free: 4.719 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/1.293, allocations: 205.6 kB / 1.565 GB, free: 4.512 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/1.293, allocations: 16 kB / 1.565 GB, free: 4.496 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/1.294, allocations: 117 kB / 1.565 GB, free: 4.379 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.296, allocations: 0.6084 MB / 1.565 GB, free: 3.77 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.298, allocations: 1.669 MB / 1.567 GB, free: 1.957 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/1.301, allocations: 382.5 kB / 1.567 GB, free: 1.586 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/1.301, allocations: 155.9 kB / 1.567 GB, free: 1.434 MB / 1.295 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.002792/1.304, allocations: 2.5 MB / 1.57 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/1.305, allocations: 256.5 kB / 1.57 GB, free: 14.66 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/1.31, allocations: 3.485 MB / 1.574 GB, free: 11.15 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.31, allocations: 3.984 kB / 1.574 GB, free: 11.15 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.31, allocations: 0 / 1.574 GB, free: 11.15 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.311, allocations: 0.548 MB / 1.574 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/1.312, allocations: 31.91 kB / 1.574 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.313, allocations: 99.91 kB / 1.574 GB, free: 10.45 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.313, allocations: 97.17 kB / 1.574 GB, free: 10.35 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005073/1.318, allocations: 3.667 MB / 1.578 GB, free: 6.656 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006311/1.324, allocations: 5.025 MB / 1.583 GB, free: 1.605 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.5572/1.882, allocations: 2.029 MB / 1.585 GB, free: 453.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01253/1.894, allocations: 12.8 MB / 1.597 GB, free: 450.2 MB / 1.311 GB Notification: Performance of Backend: time 7.01e-07/1.894, allocations: 0.9375 kB / 1.597 GB, free: 450.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04142/1.936, allocations: 50.88 MB / 1.647 GB, free: 427.6 MB / 1.311 GB Notification: Performance of SimCode: time 0.01796/1.954, allocations: 19.23 MB / 1.666 GB, free: 411.6 MB / 1.311 GB Notification: Performance of Templates: time 0.1569/2.111, allocations: 62.4 MB / 1.727 GB, free: 355.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)