Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001541/0.001542, allocations: 107.5 kB / 16.27 MB, free: 5.91 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.001967/0.001967, allocations: 190.8 kB / 17.19 MB, free: 5.551 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.664/2.664, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 68.91 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01108/0.3385, allocations: 8.512 MB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6987/1.037, allocations: 159.4 MB / 1.229 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/1.039, allocations: 38.94 kB / 1.229 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005187/1.044, allocations: 1.978 MB / 1.231 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/1.048, allocations: 1.251 MB / 1.232 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/1.051, allocations: 1.445 MB / 1.233 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006353/1.058, allocations: 5.424 MB / 1.239 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/1.059, allocations: 1.219 MB / 1.24 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/1.062, allocations: 1.718 MB / 1.241 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/1.065, allocations: 1.565 MB / 1.243 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005119/1.065, allocations: 288 kB / 1.243 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/1.07, allocations: 2.536 MB / 1.246 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004019/1.074, allocations: 4.372 MB / 1.25 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/1.076, allocations: 1.722 MB / 1.252 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009101/1.085, allocations: 6.221 MB / 1.258 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/1.085, allocations: 7.984 kB / 1.258 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/1.085, allocations: 0 / 1.258 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001339/1.085, allocations: 0 / 1.258 GB, free: 2.957 MB / 0.9669 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.009012/1.094, allocations: 4.18 MB / 1.262 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.094, allocations: 12.03 kB / 1.262 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/1.096, allocations: 432.3 kB / 1.262 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/1.109, allocations: 12.3 MB / 1.274 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.11, allocations: 171.1 kB / 1.274 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/1.11, allocations: 236 kB / 1.275 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/1.114, allocations: 2.375 MB / 1.277 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.114, allocations: 0 / 1.277 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/1.114, allocations: 72 kB / 1.277 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/1.114, allocations: 36 kB / 1.277 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/1.118, allocations: 2.471 MB / 1.279 GB, free: 12.48 MB / 0.9981 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.02076/1.139, allocations: 15.52 MB / 1.295 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/1.143, allocations: 1.991 MB / 1.297 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.144, allocations: 1.281 MB / 1.298 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.144, allocations: 45.08 kB / 1.298 GB, free: 9.395 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.147, allocations: 1.358 MB / 1.299 GB, free: 8.016 MB / 1.014 GB Notification: Performance of pre-optimization done (n=138): time 2.565e-06/1.147, allocations: 0 / 1.299 GB, free: 8.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.007351/1.154, allocations: 3.819 MB / 1.303 GB, free: 4.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/1.154, allocations: 358.5 kB / 1.303 GB, free: 3.758 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03247/1.187, allocations: 20.59 MB / 1.323 GB, free: 15.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/1.187, allocations: 89.69 kB / 1.323 GB, free: 15.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.189, allocations: 1.163 MB / 1.325 GB, free: 13.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/1.19, allocations: 473.4 kB / 1.325 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005679/1.196, allocations: 4.923 MB / 1.33 GB, free: 8.449 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.196, allocations: 301.1 kB / 1.33 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03884/1.235, allocations: 38.68 MB / 1.368 GB, free: 1.461 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04063/1.275, allocations: 40.08 MB / 1.407 GB, free: 9.125 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04838/1.324, allocations: 47.73 MB / 1.454 GB, free: 8.918 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.576e-05/1.324, allocations: 8 kB / 1.454 GB, free: 8.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09951/1.423, allocations: 90.97 MB / 1.543 GB, free: 13.52 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003001/1.424, allocations: 209.8 kB / 1.543 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/1.424, allocations: 16 kB / 1.543 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/1.424, allocations: 116.7 kB / 1.543 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.427, allocations: 0.6123 MB / 1.543 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/1.43, allocations: 1.678 MB / 1.545 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.433, allocations: 360.1 kB / 1.545 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005013/1.433, allocations: 157.2 kB / 1.546 GB, free: 10.24 MB / 1.264 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.003657/1.437, allocations: 2.512 MB / 1.548 GB, free: 7.719 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/1.438, allocations: 256.5 kB / 1.548 GB, free: 7.465 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/1.444, allocations: 3.489 MB / 1.552 GB, free: 3.953 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.444, allocations: 12 kB / 1.552 GB, free: 3.941 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.445, allocations: 3.984 kB / 1.552 GB, free: 3.938 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.445, allocations: 3.984 kB / 1.552 GB, free: 3.934 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/1.448, allocations: 2.084 MB / 1.554 GB, free: 1.789 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.448, allocations: 0 / 1.554 GB, free: 1.789 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.449, allocations: 215.5 kB / 1.554 GB, free: 1.578 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/1.45, allocations: 80.78 kB / 1.554 GB, free: 1.496 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.45, allocations: 39.97 kB / 1.554 GB, free: 1.457 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4994/1.949, allocations: 1.65 MB / 1.556 GB, free: 438.8 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.949, allocations: 0.5 kB / 1.556 GB, free: 438.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/1.955, allocations: 3.337 MB / 1.559 GB, free: 438.6 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.956, allocations: 0.5474 MB / 1.559 GB, free: 438.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/1.957, allocations: 37.56 kB / 1.559 GB, free: 438.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.958, allocations: 88.62 kB / 1.56 GB, free: 438.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/1.958, allocations: 98.69 kB / 1.56 GB, free: 438.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.958, allocations: 65.8 kB / 1.56 GB, free: 438.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01263/1.971, allocations: 12.8 MB / 1.572 GB, free: 434.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.61e-07/1.971, allocations: 0 / 1.572 GB, free: 434.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005375/1.976, allocations: 1.784 MB / 1.574 GB, free: 434.8 MB / 1.264 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.003273/1.979, allocations: 1.014 MB / 1.575 GB, free: 434.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.04012/2.02, allocations: 51.76 MB / 1.626 GB, free: 407 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/2.02, allocations: 0 / 1.626 GB, free: 407 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/2.022, allocations: 2.722 MB / 1.628 GB, free: 404.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/2.025, allocations: 491.3 kB / 1.629 GB, free: 404.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/2.034, allocations: 9.864 MB / 1.638 GB, free: 395.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/2.036, allocations: 2.04 MB / 1.64 GB, free: 393.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/2.037, allocations: 233.2 kB / 1.64 GB, free: 393.3 MB / 1.264 GB Notification: Performance of SimCode: time 5.31e-07/2.037, allocations: 0 / 1.64 GB, free: 393.3 MB / 1.264 GB Notification: Performance of Templates: time 0.1118/2.149, allocations: 97.98 MB / 1.736 GB, free: 301.6 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)