Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00156/0.00156, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001901/0.0019, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8576, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01044/0.8681, allocations: 8.552 MB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1687/1.037, allocations: 159.4 MB / 1.331 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/1.039, allocations: 43.81 kB / 1.331 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005826/1.044, allocations: 2.001 MB / 1.333 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/1.048, allocations: 1.279 MB / 1.335 GB, free: 7.844 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/1.052, allocations: 1.448 MB / 1.336 GB, free: 6.402 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00621/1.058, allocations: 5.454 MB / 1.341 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/1.061, allocations: 1.22 MB / 1.343 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/1.064, allocations: 1.73 MB / 1.344 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.067, allocations: 1.565 MB / 1.346 GB, free: 12.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009766/1.068, allocations: 292 kB / 1.346 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/1.074, allocations: 2.571 MB / 1.349 GB, free: 9.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004338/1.078, allocations: 4.358 MB / 1.353 GB, free: 5.137 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003443/1.081, allocations: 1.73 MB / 1.355 GB, free: 3.398 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01093/1.092, allocations: 6.31 MB / 1.361 GB, free: 13.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.092, allocations: 0 / 1.361 GB, free: 13.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.813e-06/1.092, allocations: 0 / 1.361 GB, free: 13.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002133/1.093, allocations: 0 / 1.361 GB, free: 13.07 MB / 1.092 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.01108/1.104, allocations: 4.184 MB / 1.365 GB, free: 8.809 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/1.104, allocations: 16.88 kB / 1.365 GB, free: 8.793 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.106, allocations: 428.4 kB / 1.365 GB, free: 8.371 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.12, allocations: 12.33 MB / 1.377 GB, free: 11.97 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/1.12, allocations: 171.1 kB / 1.377 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/1.121, allocations: 232 kB / 1.378 GB, free: 11.58 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/1.126, allocations: 2.38 MB / 1.38 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.126, allocations: 3.938 kB / 1.38 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/1.127, allocations: 68 kB / 1.38 GB, free: 9.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/1.127, allocations: 36 kB / 1.38 GB, free: 9.035 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004292/1.131, allocations: 2.467 MB / 1.382 GB, free: 6.562 MB / 1.107 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.02228/1.153, allocations: 15.49 MB / 1.398 GB, free: 6.836 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/1.157, allocations: 1.984 MB / 1.4 GB, free: 4.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.159, allocations: 1.277 MB / 1.401 GB, free: 3.57 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.159, allocations: 41.09 kB / 1.401 GB, free: 3.527 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/1.161, allocations: 1.361 MB / 1.402 GB, free: 2.145 MB / 1.123 GB Notification: Performance of pre-optimization done (n=138): time 3.106e-06/1.161, allocations: 4 kB / 1.402 GB, free: 2.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.007547/1.169, allocations: 3.811 MB / 1.406 GB, free: 14.29 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002889/1.169, allocations: 366.5 kB / 1.406 GB, free: 13.88 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03251/1.202, allocations: 20.6 MB / 1.426 GB, free: 9.262 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005532/1.202, allocations: 85.7 kB / 1.426 GB, free: 9.172 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.204, allocations: 1.17 MB / 1.428 GB, free: 7.992 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/1.205, allocations: 469.5 kB / 1.428 GB, free: 7.527 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005198/1.21, allocations: 4.923 MB / 1.433 GB, free: 2.57 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.21, allocations: 305.1 kB / 1.433 GB, free: 2.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0367/1.247, allocations: 38.68 MB / 1.471 GB, free: 11.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03644/1.283, allocations: 40.08 MB / 1.51 GB, free: 3.238 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04235/1.326, allocations: 47.73 MB / 1.557 GB, free: 3.031 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.492e-05/1.326, allocations: 4 kB / 1.557 GB, free: 3.027 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.6373/1.963, allocations: 90.96 MB / 1.645 GB, free: 308.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/1.963, allocations: 201.6 kB / 1.646 GB, free: 308.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/1.963, allocations: 20.91 kB / 1.646 GB, free: 308.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.964, allocations: 113.4 kB / 1.646 GB, free: 308.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/1.966, allocations: 0.6119 MB / 1.646 GB, free: 308 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/1.968, allocations: 1.665 MB / 1.648 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/1.971, allocations: 375 kB / 1.648 GB, free: 305.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.971, allocations: 151.8 kB / 1.648 GB, free: 305.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.001983/1.973, allocations: 2.511 MB / 1.651 GB, free: 303.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.973, allocations: 260.4 kB / 1.651 GB, free: 303 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/1.978, allocations: 3.475 MB / 1.655 GB, free: 299.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.978, allocations: 15.98 kB / 1.655 GB, free: 299.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.978, allocations: 0 / 1.655 GB, free: 299.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.978, allocations: 12.27 kB / 1.655 GB, free: 299.5 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.98, allocations: 2.078 MB / 1.657 GB, free: 297.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.98, allocations: 0 / 1.657 GB, free: 297.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/1.98, allocations: 211.7 kB / 1.657 GB, free: 297.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/1.981, allocations: 71.94 kB / 1.657 GB, free: 297.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/1.981, allocations: 43.97 kB / 1.657 GB, free: 297.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/1.982, allocations: 1.661 MB / 1.659 GB, free: 295.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.982, allocations: 2.422 kB / 1.659 GB, free: 295.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/1.986, allocations: 3.333 MB / 1.662 GB, free: 292 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/1.987, allocations: 0.5479 MB / 1.662 GB, free: 291.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.987, allocations: 35.92 kB / 1.662 GB, free: 291.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/1.988, allocations: 87.91 kB / 1.662 GB, free: 291.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.989, allocations: 100.8 kB / 1.663 GB, free: 291.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.989, allocations: 71.95 kB / 1.663 GB, free: 291.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007102/1.996, allocations: 12.8 MB / 1.675 GB, free: 278.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.21e-07/1.996, allocations: 0 / 1.675 GB, free: 278.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003875/2, allocations: 1.782 MB / 1.677 GB, free: 276.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.002202/2.002, allocations: 1.012 MB / 1.678 GB, free: 275.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02929/2.031, allocations: 50.91 MB / 1.728 GB, free: 225 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.031, allocations: 0 / 1.728 GB, free: 225 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/2.034, allocations: 2.712 MB / 1.73 GB, free: 222.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/2.036, allocations: 499.7 kB / 1.731 GB, free: 221.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/2.045, allocations: 9.793 MB / 1.74 GB, free: 211.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/2.047, allocations: 2.033 MB / 1.742 GB, free: 209.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007964/2.047, allocations: 239.3 kB / 1.742 GB, free: 209.7 MB / 1.279 GB Notification: Performance of SimCode: time 6.11e-07/2.047, allocations: 0 / 1.742 GB, free: 209.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1086/2.156, allocations: 98.28 MB / 1.838 GB, free: 112.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)