Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 186.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.0009204, allocations: 99.78 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 13.03 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006032/0.2696, allocations: 4.891 MB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.4411, allocations: 131.1 MB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.4428, allocations: 19.88 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004923/0.4477, allocations: 1.297 MB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.4504, allocations: 0.6323 MB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4532, allocations: 0.763 MB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.4565, allocations: 1.779 MB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4576, allocations: 0.6947 MB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.4594, allocations: 0.8445 MB / 1.039 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.4606, allocations: 0.6691 MB / 1.039 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.4607, allocations: 47.94 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.4644, allocations: 1.654 MB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.466, allocations: 1.871 MB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.4668, allocations: 0.5582 MB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.4754, allocations: 6.136 MB / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4755, allocations: 0 / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4755, allocations: 4 kB / 1.049 GB, free: 6.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001579/0.4756, allocations: 0 / 1.049 GB, free: 6.496 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.01412/0.4898, allocations: 4.995 MB / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.4898, allocations: 8.031 kB / 1.054 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007381/0.4906, allocations: 181.7 kB / 1.055 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.4934, allocations: 466.8 kB / 1.055 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8532/1.347, allocations: 307.4 MB / 1.355 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.347, allocations: 122.2 kB / 1.355 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/1.347, allocations: 173.5 kB / 1.355 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/1.35, allocations: 1.318 MB / 1.357 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/1.35, allocations: 0 / 1.357 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/1.35, allocations: 48 kB / 1.357 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.35, allocations: 31.56 kB / 1.357 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/1.352, allocations: 1.413 MB / 1.358 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6958/2.048, allocations: 76.35 MB / 1.433 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/2.05, allocations: 1.141 MB / 1.434 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/2.05, allocations: 37.28 kB / 1.434 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009209/2.051, allocations: 0.6602 MB / 1.435 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 4.588e-06/2.051, allocations: 0 / 1.435 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.004503/2.055, allocations: 2.255 MB / 1.437 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/2.055, allocations: 351.2 kB / 1.437 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8915/2.947, allocations: 379.7 MB / 1.808 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004111/2.947, allocations: 70.45 kB / 1.808 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/2.949, allocations: 1.566 MB / 1.809 GB, free: 213.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/2.949, allocations: 355.1 kB / 1.81 GB, free: 213 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/2.949, allocations: 40.5 kB / 1.81 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/2.949, allocations: 412.4 kB / 1.81 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/2.951, allocations: 1.158 MB / 1.811 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/2.952, allocations: 1.866 MB / 1.813 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/2.954, allocations: 1.586 MB / 1.815 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/2.954, allocations: 9.203 kB / 1.815 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.004765/2.959, allocations: 3.684 MB / 1.818 GB, free: 204 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/2.959, allocations: 189.4 kB / 1.819 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/2.959, allocations: 20.5 kB / 1.819 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/2.959, allocations: 39.98 kB / 1.819 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/2.96, allocations: 451.2 kB / 1.819 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/2.96, allocations: 43.86 kB / 1.819 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/2.963, allocations: 0.5399 MB / 1.82 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/2.963, allocations: 108 kB / 1.82 GB, free: 202.6 MB / 0.8542 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.002005/2.965, allocations: 1.639 MB / 1.821 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.966, allocations: 342.2 kB / 1.822 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/2.97, allocations: 2.434 MB / 1.824 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/2.97, allocations: 9.5 kB / 1.824 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.97, allocations: 0 / 1.824 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/2.97, allocations: 11.97 kB / 1.824 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/2.977, allocations: 5.639 MB / 1.83 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/2.977, allocations: 0 / 1.83 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/2.978, allocations: 155.8 kB / 1.83 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/2.978, allocations: 4 kB / 1.83 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/2.978, allocations: 31.98 kB / 1.83 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/2.978, allocations: 5.641 kB / 1.83 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/2.978, allocations: 4 kB / 1.83 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/2.981, allocations: 2.278 MB / 1.832 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/2.984, allocations: 1.226 MB / 1.833 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008268/2.985, allocations: 27.98 kB / 1.833 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/2.986, allocations: 296.6 kB / 1.833 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/2.987, allocations: 65.45 kB / 1.834 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/2.987, allocations: 51.97 kB / 1.834 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.6731/3.66, allocations: 305.4 MB / 2.132 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.42e-07/3.66, allocations: 0 / 2.132 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004299/3.664, allocations: 1.168 MB / 2.133 GB, free: 237.7 MB / 0.8698 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.005719/3.67, allocations: 3.643 MB / 2.136 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003753/3.674, allocations: 4.027 MB / 2.14 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/3.674, allocations: 6.734 kB / 2.14 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/3.675, allocations: 1.958 MB / 2.142 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/3.678, allocations: 410.6 kB / 2.143 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/3.697, allocations: 26.77 MB / 2.169 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/3.699, allocations: 2.389 MB / 2.171 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003186/3.702, allocations: 1.263 MB / 2.172 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/3.705, allocations: 1.702 MB / 2.174 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/3.705, allocations: 0 / 2.174 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.23/3.935, allocations: 185.8 MB / 2.356 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/3.935, allocations: 276.1 kB / 2.356 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.823/8.759, allocations: 64 / 2.356 GB, free: 9.289 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)