Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 181 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 15.78 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2682, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006901/0.2752, allocations: 4.872 MB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8244/1.1, allocations: 131 MB / 1.112 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/1.101, allocations: 21.41 kB / 1.112 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005112/1.106, allocations: 1.299 MB / 1.114 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/1.109, allocations: 0.621 MB / 1.114 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/1.113, allocations: 0.7673 MB / 1.115 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003875/1.117, allocations: 1.776 MB / 1.117 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/1.118, allocations: 0.6973 MB / 1.117 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/1.12, allocations: 0.8463 MB / 1.118 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/1.121, allocations: 0.6711 MB / 1.119 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/1.121, allocations: 42 kB / 1.119 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/1.126, allocations: 1.657 MB / 1.12 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001814/1.127, allocations: 1.874 MB / 1.122 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007307/1.128, allocations: 0.556 MB / 1.123 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008489/1.137, allocations: 6.151 MB / 1.129 GB, free: 15.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.137, allocations: 0 / 1.129 GB, free: 15.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/1.137, allocations: 0 / 1.129 GB, free: 15.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001826/1.137, allocations: 1.062 kB / 1.129 GB, free: 15.03 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.01575/1.153, allocations: 4.998 MB / 1.134 GB, free: 12.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.153, allocations: 8.562 kB / 1.134 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000852/1.154, allocations: 183.4 kB / 1.134 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/1.157, allocations: 464.8 kB / 1.134 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3054/1.463, allocations: 307.4 MB / 1.435 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/1.463, allocations: 126.9 kB / 1.435 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/1.463, allocations: 172 kB / 1.435 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5909/2.054, allocations: 1.316 MB / 1.436 GB, free: 374.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/2.054, allocations: 5.156 kB / 1.436 GB, free: 374.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/2.054, allocations: 51.42 kB / 1.436 GB, free: 374.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/2.055, allocations: 25.94 kB / 1.436 GB, free: 374.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/2.057, allocations: 1.412 MB / 1.438 GB, free: 374.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06638/2.124, allocations: 76.34 MB / 1.512 GB, free: 324.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/2.126, allocations: 1.15 MB / 1.513 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.053e-05/2.126, allocations: 35.77 kB / 1.513 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008648/2.127, allocations: 0.6661 MB / 1.514 GB, free: 322.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 2.885e-06/2.127, allocations: 0 / 1.514 GB, free: 322.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.004959/2.132, allocations: 2.256 MB / 1.516 GB, free: 320.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/2.132, allocations: 342.2 kB / 1.516 GB, free: 320 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8843/3.016, allocations: 379.7 MB / 1.887 GB, free: 337.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005998/3.017, allocations: 67.86 kB / 1.887 GB, free: 337.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/3.019, allocations: 1.569 MB / 1.889 GB, free: 336.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/3.02, allocations: 356.6 kB / 1.889 GB, free: 336 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/3.02, allocations: 44 kB / 1.889 GB, free: 336 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001919/3.02, allocations: 404.2 kB / 1.89 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/3.022, allocations: 1.16 MB / 1.891 GB, free: 334.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/3.025, allocations: 1.881 MB / 1.893 GB, free: 332.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/3.028, allocations: 1.582 MB / 1.894 GB, free: 331.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/3.028, allocations: 4 kB / 1.894 GB, free: 331.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.007944/3.036, allocations: 3.68 MB / 1.898 GB, free: 327.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/3.036, allocations: 182.1 kB / 1.898 GB, free: 327.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/3.036, allocations: 20 kB / 1.898 GB, free: 327.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.466e-05/3.036, allocations: 39.78 kB / 1.898 GB, free: 327.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/3.038, allocations: 461.6 kB / 1.898 GB, free: 327.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.651e-05/3.038, allocations: 46.39 kB / 1.898 GB, free: 327.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/3.042, allocations: 0.5343 MB / 1.899 GB, free: 326.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/3.043, allocations: 103.3 kB / 1.899 GB, free: 326.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002874/3.046, allocations: 1.643 MB / 1.901 GB, free: 325 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/3.047, allocations: 342 kB / 1.901 GB, free: 324.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/3.052, allocations: 2.44 MB / 1.903 GB, free: 322.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/3.052, allocations: 9.891 kB / 1.903 GB, free: 322.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/3.052, allocations: 0 / 1.903 GB, free: 322.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/3.052, allocations: 5.953 kB / 1.903 GB, free: 322.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/3.064, allocations: 5.639 MB / 1.909 GB, free: 316.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/3.064, allocations: 0 / 1.909 GB, free: 316.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/3.065, allocations: 153.2 kB / 1.909 GB, free: 316.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/3.065, allocations: 11.94 kB / 1.909 GB, free: 316.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/3.065, allocations: 27.98 kB / 1.909 GB, free: 316.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/3.065, allocations: 7.984 kB / 1.909 GB, free: 316.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.065, allocations: 0 / 1.909 GB, free: 316.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/3.07, allocations: 2.277 MB / 1.911 GB, free: 314.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003495/3.073, allocations: 1.226 MB / 1.912 GB, free: 312.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/3.075, allocations: 25.08 kB / 1.912 GB, free: 312.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/3.077, allocations: 304.6 kB / 1.913 GB, free: 312.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/3.077, allocations: 70.23 kB / 1.913 GB, free: 312.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/3.078, allocations: 35.98 kB / 1.913 GB, free: 312.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.2269/3.304, allocations: 305.4 MB / 2.211 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.785e-06/3.305, allocations: 0 / 2.211 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005313/3.31, allocations: 1.17 MB / 2.212 GB, free: 6.004 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007485/3.317, allocations: 3.657 MB / 2.216 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.4345/3.752, allocations: 4.022 MB / 2.22 GB, free: 371.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.752, allocations: 0.5625 kB / 2.22 GB, free: 371.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/3.754, allocations: 1.962 MB / 2.222 GB, free: 371 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/3.757, allocations: 402.8 kB / 2.222 GB, free: 371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/3.784, allocations: 26.77 MB / 2.248 GB, free: 349.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/3.787, allocations: 2.386 MB / 2.251 GB, free: 348.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004131/3.792, allocations: 1.268 MB / 2.252 GB, free: 348.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003152/3.795, allocations: 1.703 MB / 2.253 GB, free: 346.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.102e-06/3.795, allocations: 1.375 kB / 2.253 GB, free: 346.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.31/4.105, allocations: 185.9 MB / 2.435 GB, free: 179.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/4.105, allocations: 268.7 kB / 2.435 GB, free: 178.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/8.677, allocations: 4.062 kB / 2.435 GB, free: 178.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)