Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002068/0.002068, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5638, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008065/0.5719, allocations: 7.26 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.7155, allocations: 153.4 MB / 1.174 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.7168, allocations: 19.88 kB / 1.174 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.7211, allocations: 1.658 MB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.7239, allocations: 0.7501 MB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.7264, allocations: 0.9057 MB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.73, allocations: 3.5 MB / 1.18 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.7314, allocations: 0.8788 MB / 1.181 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.733, allocations: 1.035 MB / 1.182 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.7345, allocations: 1.035 MB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.7349, allocations: 104 kB / 1.183 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.7382, allocations: 2.017 MB / 1.185 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.7398, allocations: 1.972 MB / 1.187 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.7419, allocations: 1.919 MB / 1.189 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005973/0.7478, allocations: 7.651 MB / 1.197 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7479, allocations: 0 / 1.197 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7479, allocations: 0 / 1.197 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.6e-05/0.7479, allocations: 3.938 kB / 1.197 GB, free: 9.93 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.00884/0.7568, allocations: 6.22 MB / 1.203 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7568, allocations: 12.03 kB / 1.203 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.757, allocations: 198.5 kB / 1.203 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7583, allocations: 471.5 kB / 1.203 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6724/1.431, allocations: 321.1 MB / 1.517 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/1.431, allocations: 138.4 kB / 1.517 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/1.431, allocations: 180 kB / 1.517 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/1.434, allocations: 1.667 MB / 1.519 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.434, allocations: 7.938 kB / 1.519 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.434, allocations: 51.98 kB / 1.519 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/1.434, allocations: 28 kB / 1.519 GB, free: 8.332 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/1.437, allocations: 1.726 MB / 1.521 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05493/1.492, allocations: 77 MB / 1.596 GB, free: 9.41 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/1.494, allocations: 1.583 MB / 1.597 GB, free: 7.824 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.496, allocations: 1.031 MB / 1.598 GB, free: 6.785 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/1.496, allocations: 44.75 kB / 1.598 GB, free: 6.746 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.497, allocations: 0.9733 MB / 1.599 GB, free: 5.762 MB / 1.107 GB Notification: Performance of pre-optimization done (n=118): time 3.417e-06/1.497, allocations: 3.938 kB / 1.599 GB, free: 5.758 MB / 1.107 GB Notification: Performance of matching and sorting (n=118): time 0.005485/1.503, allocations: 3.011 MB / 1.602 GB, free: 2.734 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/1.503, allocations: 346.5 kB / 1.603 GB, free: 2.348 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7533/2.256, allocations: 379.7 MB / 1.973 GB, free: 204.4 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003286/2.257, allocations: 69.7 kB / 1.973 GB, free: 204.4 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/2.258, allocations: 1.621 MB / 1.975 GB, free: 202.9 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/2.259, allocations: 371 kB / 1.975 GB, free: 202.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007774/2.259, allocations: 0.5196 MB / 1.976 GB, free: 202.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/2.259, allocations: 310.5 kB / 1.976 GB, free: 201.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/2.261, allocations: 1.437 MB / 1.977 GB, free: 200.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/2.263, allocations: 2.168 MB / 1.98 GB, free: 198 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/2.266, allocations: 3.538 MB / 1.983 GB, free: 194.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/2.266, allocations: 8 kB / 1.983 GB, free: 194.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005352/2.271, allocations: 4.255 MB / 1.987 GB, free: 189.9 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/2.272, allocations: 181.6 kB / 1.987 GB, free: 189.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/2.272, allocations: 24 kB / 1.987 GB, free: 189.7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/2.272, allocations: 32.66 kB / 1.987 GB, free: 189.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/2.273, allocations: 479.1 kB / 1.988 GB, free: 189.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/2.273, allocations: 43.86 kB / 1.988 GB, free: 189.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/2.275, allocations: 0.5594 MB / 1.989 GB, free: 188.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/2.275, allocations: 108 kB / 1.989 GB, free: 188.5 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 (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 (265): * Single equations (assignments): 264 * Array equations: 0 * 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.001587/2.277, allocations: 1.672 MB / 1.99 GB, free: 186.8 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/2.278, allocations: 347.3 kB / 1.991 GB, free: 186.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/2.281, allocations: 3.044 MB / 1.994 GB, free: 183.4 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/2.282, allocations: 8 kB / 1.994 GB, free: 183.4 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/2.282, allocations: 0 / 1.994 GB, free: 183.4 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/2.282, allocations: 7.984 kB / 1.994 GB, free: 183.4 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/2.284, allocations: 2.813 MB / 1.996 GB, free: 180.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/2.284, allocations: 4.062 kB / 1.996 GB, free: 180.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/2.285, allocations: 159.8 kB / 1.996 GB, free: 180.4 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/2.285, allocations: 4 kB / 1.996 GB, free: 180.4 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/2.285, allocations: 43.91 kB / 1.997 GB, free: 180.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/2.285, allocations: 4 kB / 1.997 GB, free: 180.3 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/2.285, allocations: 0.5625 kB / 1.997 GB, free: 180.3 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/2.288, allocations: 2.82 MB / 1.999 GB, free: 177.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/2.289, allocations: 1.241 MB / 2 GB, free: 176.2 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/2.29, allocations: 32.92 kB / 2.001 GB, free: 176.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/2.291, allocations: 307.9 kB / 2.001 GB, free: 175.9 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/2.291, allocations: 80.89 kB / 2.001 GB, free: 175.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/2.291, allocations: 55.72 kB / 2.001 GB, free: 175.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.5804/2.872, allocations: 305.3 MB / 2.299 GB, free: 337 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.81e-07/2.872, allocations: 0 / 2.299 GB, free: 337 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00336/2.875, allocations: 1.243 MB / 2.3 GB, free: 335.9 MB / 1.217 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.006211/2.881, allocations: 4.225 MB / 2.304 GB, free: 332.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003627/2.885, allocations: 4.62 MB / 2.309 GB, free: 327.6 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/2.885, allocations: 0 / 2.309 GB, free: 327.6 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/2.886, allocations: 2.243 MB / 2.311 GB, free: 325.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/2.889, allocations: 460.1 kB / 2.312 GB, free: 324.9 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.997/4.886, allocations: 1.516 GB / 3.827 GB, free: 163.5 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/4.888, allocations: 2.36 MB / 3.829 GB, free: 161.1 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002312/4.89, allocations: 1.257 MB / 3.831 GB, free: 160 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/4.892, allocations: 1.756 MB / 3.832 GB, free: 158.2 MB / 1.217 GB Notification: Performance of SimCode: time 5.41e-07/4.892, allocations: 0 / 3.832 GB, free: 158.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.059/10.95, allocations: 253.5 MB / 4.08 GB, free: 395.4 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/10.95, allocations: 292 kB / 4.08 GB, free: 395 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/14.57, allocations: 3.656 kB / 4.08 GB, free: 395 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)