Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 195.4 kB / 499.1 MB, free: 4.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 103.8 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 54.86 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3343, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006473/0.3409, allocations: 5.728 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.5155, allocations: 153.2 MB / 1.373 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.5172, allocations: 23.88 kB / 1.373 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00754/0.5248, allocations: 1.62 MB / 1.375 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.5285, allocations: 0.6143 MB / 1.375 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.5328, allocations: 0.8514 MB / 1.376 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005611/0.5385, allocations: 3.155 MB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.5406, allocations: 0.9206 MB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.5432, allocations: 0.9731 MB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.5454, allocations: 0.935 MB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.5457, allocations: 96 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.5517, allocations: 2.017 MB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.5542, allocations: 1.798 MB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.5558, allocations: 0.9864 MB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.007478/0.5633, allocations: 4.043 MB / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5634, allocations: 0 / 1.391 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5634, allocations: 4 kB / 1.391 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.888e-05/0.5634, allocations: 0 / 1.391 GB, free: 3.551 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.007173/0.5706, allocations: 2.839 MB / 1.394 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.5707, allocations: 15.98 kB / 1.394 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.5721, allocations: 285.9 kB / 1.394 GB, free: 352 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008306/0.5804, allocations: 4.505 MB / 1.398 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.5806, allocations: 130.3 kB / 1.398 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.581, allocations: 176 kB / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.585, allocations: 1.576 MB / 1.4 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.5851, allocations: 4 kB / 1.4 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.5853, allocations: 48 kB / 1.4 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.5853, allocations: 28 kB / 1.4 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/0.5897, allocations: 1.663 MB / 1.402 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.6058, allocations: 6.83 MB / 1.409 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.6092, allocations: 1.461 MB / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.6111, allocations: 0.9914 MB / 1.411 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.6112, allocations: 45.56 kB / 1.411 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.6132, allocations: 0.8887 MB / 1.412 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=106): time 4.759e-06/0.6132, allocations: 0 / 1.412 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=106): time 0.005847/0.6191, allocations: 2.666 MB / 1.414 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003163/0.6194, allocations: 350.1 kB / 1.415 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/0.6359, allocations: 7.327 MB / 1.422 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004779/0.6364, allocations: 77.58 kB / 1.422 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.6375, allocations: 0.7604 MB / 1.423 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/0.638, allocations: 354.9 kB / 1.423 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/0.6404, allocations: 1.872 MB / 1.425 GB, free: 292 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.6093/1.25, allocations: 301.1 kB / 1.425 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0175/1.267, allocations: 12.94 MB / 1.438 GB, free: 198.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/1.281, allocations: 13.66 MB / 1.451 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.294, allocations: 17.01 MB / 1.468 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-05/1.294, allocations: 4 kB / 1.468 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02608/1.32, allocations: 31.15 MB / 1.498 GB, free: 146.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/1.32, allocations: 187.8 kB / 1.498 GB, free: 146 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/1.32, allocations: 15.75 kB / 1.498 GB, free: 146 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-05/1.32, allocations: 20 kB / 1.498 GB, free: 146 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.322, allocations: 452.5 kB / 1.499 GB, free: 145.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.147e-05/1.322, allocations: 31.62 kB / 1.499 GB, free: 145.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.324, allocations: 264.5 kB / 1.499 GB, free: 145.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.324, allocations: 104 kB / 1.499 GB, free: 145.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 260 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001417/1.326, allocations: 1.21 MB / 1.5 GB, free: 144.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/1.326, allocations: 178.3 kB / 1.501 GB, free: 144 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.329, allocations: 2.599 MB / 1.503 GB, free: 141.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.329, allocations: 11.94 kB / 1.503 GB, free: 141.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.329, allocations: 4 kB / 1.503 GB, free: 141.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.329, allocations: 6.469 kB / 1.503 GB, free: 141.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/1.334, allocations: 4.09 MB / 1.507 GB, free: 137.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.334, allocations: 3.625 kB / 1.507 GB, free: 137.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/1.334, allocations: 151.7 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.334, allocations: 4 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/1.334, allocations: 31.98 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.334, allocations: 4 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.334, allocations: 4 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.339, allocations: 4.605 MB / 1.512 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/1.339, allocations: 403.1 kB / 1.512 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/1.339, allocations: 24 kB / 1.512 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/1.34, allocations: 61.31 kB / 1.512 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.34, allocations: 68.91 kB / 1.512 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/1.34, allocations: 35.98 kB / 1.512 GB, free: 132.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002982/1.343, allocations: 4.615 MB / 1.517 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.1e-07/1.343, allocations: 4 kB / 1.517 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002732/1.346, allocations: 1.175 MB / 1.518 GB, free: 126.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002154/1.348, allocations: 0.9474 MB / 1.519 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.361, allocations: 18.84 MB / 1.537 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.361, allocations: 12.02 kB / 1.537 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.362, allocations: 2.18 MB / 1.54 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.364, allocations: 316.6 kB / 1.54 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009523/1.374, allocations: 9.926 MB / 1.55 GB, free: 94.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/1.375, allocations: 2.344 MB / 1.552 GB, free: 92.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001371/1.377, allocations: 437.7 kB / 1.552 GB, free: 91.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.377, allocations: 155.3 kB / 1.552 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/1.377, allocations: 0 / 1.552 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of Templates: time 0.07266/1.45, allocations: 33.91 MB / 1.586 GB, free: 57.92 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)