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.001754/0.001754, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001857/0.001857, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.352/1.352, allocations: 222.9 MB / 241 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.23/2.23, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9613/0.9627, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008529/0.9712, allocations: 7.295 MB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.179, allocations: 159.3 MB / 1.251 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/1.181, allocations: 39.81 kB / 1.251 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006482/1.187, allocations: 1.966 MB / 1.253 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00421/1.192, allocations: 1.181 MB / 1.254 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004116/1.196, allocations: 1.43 MB / 1.256 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006187/1.202, allocations: 5.237 MB / 1.261 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/1.204, allocations: 1.285 MB / 1.262 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/1.207, allocations: 1.703 MB / 1.264 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/1.21, allocations: 1.526 MB / 1.265 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/1.212, allocations: 292 kB / 1.266 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/1.217, allocations: 2.575 MB / 1.268 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004306/1.222, allocations: 4.358 MB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003031/1.225, allocations: 1.683 MB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01008/1.235, allocations: 6.244 MB / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.235, allocations: 0 / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/1.235, allocations: 0 / 1.28 GB, free: 9.453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002116/1.235, allocations: 4 kB / 1.28 GB, free: 9.449 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.01029/1.245, allocations: 4.153 MB / 1.284 GB, free: 5.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.245, allocations: 8.031 kB / 1.284 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/1.247, allocations: 428.4 kB / 1.285 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.261, allocations: 12.33 MB / 1.297 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/1.261, allocations: 175.1 kB / 1.297 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007106/1.262, allocations: 236 kB / 1.297 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/1.267, allocations: 2.381 MB / 1.299 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.267, allocations: 7.938 kB / 1.299 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/1.268, allocations: 64 kB / 1.299 GB, free: 5.465 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/1.268, allocations: 40 kB / 1.3 GB, free: 5.426 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/1.272, allocations: 2.455 MB / 1.302 GB, free: 2.965 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/1.293, allocations: 15 MB / 1.317 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/1.296, allocations: 1.983 MB / 1.318 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.298, allocations: 1.277 MB / 1.32 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.298, allocations: 37.11 kB / 1.32 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/1.3, allocations: 1.365 MB / 1.321 GB, free: 15.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 2.916e-06/1.3, allocations: 0 / 1.321 GB, free: 15.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.007075/1.307, allocations: 3.819 MB / 1.325 GB, free: 11.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/1.308, allocations: 370.5 kB / 1.325 GB, free: 10.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03031/1.338, allocations: 20.6 MB / 1.345 GB, free: 6.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000609/1.339, allocations: 81.7 kB / 1.345 GB, free: 6.176 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/1.34, allocations: 1.17 MB / 1.347 GB, free: 4.992 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/1.341, allocations: 461.5 kB / 1.347 GB, free: 4.535 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005321/1.346, allocations: 4.931 MB / 1.352 GB, free: 15.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.346, allocations: 301.1 kB / 1.352 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03862/1.385, allocations: 38.69 MB / 1.39 GB, free: 8.574 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04103/1.426, allocations: 40.07 MB / 1.429 GB, free: 256 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04668/1.473, allocations: 47.74 MB / 1.476 GB, free: 32 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-05/1.473, allocations: 8 kB / 1.476 GB, free: 24 kB / 1.201 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09742/1.57, allocations: 90.96 MB / 1.564 GB, free: 4.652 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.571, allocations: 201.6 kB / 1.565 GB, free: 4.449 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/1.571, allocations: 16 kB / 1.565 GB, free: 4.434 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/1.571, allocations: 116.9 kB / 1.565 GB, free: 4.316 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/1.574, allocations: 0.6084 MB / 1.565 GB, free: 3.707 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/1.576, allocations: 1.673 MB / 1.567 GB, free: 1.891 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.58, allocations: 382.7 kB / 1.567 GB, free: 1.516 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.58, allocations: 155.9 kB / 1.567 GB, free: 1.363 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.003423/1.584, allocations: 2.496 MB / 1.57 GB, free: 14.85 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/1.584, allocations: 256.5 kB / 1.57 GB, free: 14.59 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/1.59, allocations: 3.489 MB / 1.574 GB, free: 11.08 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.59, allocations: 12 kB / 1.574 GB, free: 11.07 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.59, allocations: 0 / 1.574 GB, free: 11.07 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.59, allocations: 3.984 kB / 1.574 GB, free: 11.07 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/1.594, allocations: 2.092 MB / 1.576 GB, free: 8.914 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.594, allocations: 0 / 1.576 GB, free: 8.914 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009568/1.594, allocations: 203.7 kB / 1.576 GB, free: 8.715 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/1.595, allocations: 72.78 kB / 1.576 GB, free: 8.641 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.595, allocations: 43.97 kB / 1.576 GB, free: 8.598 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/1.597, allocations: 1.65 MB / 1.578 GB, free: 6.801 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.597, allocations: 15.8 kB / 1.578 GB, free: 6.785 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/1.602, allocations: 3.333 MB / 1.581 GB, free: 3.422 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.603, allocations: 0.5479 MB / 1.581 GB, free: 2.852 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/1.604, allocations: 43.98 kB / 1.581 GB, free: 2.809 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.605, allocations: 83.91 kB / 1.581 GB, free: 2.727 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/1.605, allocations: 105.1 kB / 1.582 GB, free: 2.621 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.605, allocations: 67.97 kB / 1.582 GB, free: 2.555 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6303/2.236, allocations: 12.79 MB / 1.594 GB, free: 450.3 MB / 1.311 GB Notification: Performance of sort global known variables: time 5.11e-07/2.236, allocations: 3.938 kB / 1.594 GB, free: 450.3 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.005919/2.242, allocations: 1.75 MB / 1.596 GB, free: 450.3 MB / 1.311 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.002878/2.245, allocations: 1.007 MB / 1.597 GB, free: 450.1 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04338/2.288, allocations: 50.92 MB / 1.647 GB, free: 427.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.288, allocations: 0 / 1.647 GB, free: 427.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/2.291, allocations: 2.723 MB / 1.649 GB, free: 426 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/2.293, allocations: 478.1 kB / 1.65 GB, free: 425.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/2.306, allocations: 9.898 MB / 1.659 GB, free: 416.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/2.307, allocations: 2.036 MB / 1.661 GB, free: 414.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/2.308, allocations: 233.1 kB / 1.662 GB, free: 414.7 MB / 1.311 GB Notification: Performance of SimCode: time 1.413e-06/2.308, allocations: 0 / 1.662 GB, free: 414.7 MB / 1.311 GB Notification: Performance of Templates: time 0.1215/2.43, allocations: 97.92 MB / 1.757 GB, free: 323.8 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)