Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.001675/0.001675, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002345/0.002345, allocations: 192 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.53/2.53, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.348/5.348, allocations: 461.9 MB / 0.7344 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 63.5 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5197, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01889/0.5387, allocations: 8.488 MB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2973/0.836, allocations: 157.2 MB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.8384, allocations: 31.81 kB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008771/0.8472, allocations: 1.814 MB / 1.216 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.8529, allocations: 1.151 MB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006032/0.859, allocations: 1.309 MB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008962/0.868, allocations: 5.434 MB / 1.224 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.8713, allocations: 1.235 MB / 1.225 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.8755, allocations: 1.772 MB / 1.227 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.8794, allocations: 1.618 MB / 1.228 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.8805, allocations: 288 kB / 1.228 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007345/0.8878, allocations: 2.548 MB / 1.231 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.007088/0.895, allocations: 4.796 MB / 1.236 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01132/0.9063, allocations: 4.864 MB / 1.24 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6996/1.606, allocations: 17.7 MB / 1.258 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.606, allocations: 0 / 1.258 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/1.606, allocations: 2.781 kB / 1.258 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003453/1.606, allocations: 0 / 1.258 GB, free: 18.05 MB / 0.9981 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.03623/1.643, allocations: 14.1 MB / 1.271 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.643, allocations: 9.625 kB / 1.271 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004025/1.643, allocations: 242.4 kB / 1.272 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/1.649, allocations: 0.9155 MB / 1.273 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.583/4.232, allocations: 0.9971 GB / 2.27 GB, free: 87.73 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/4.232, allocations: 171.1 kB / 2.27 GB, free: 87.57 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/4.234, allocations: 232 kB / 2.27 GB, free: 87.34 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/4.252, allocations: 2.373 MB / 2.272 GB, free: 84.91 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/4.252, allocations: 2.078 kB / 2.272 GB, free: 84.91 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/4.253, allocations: 72 kB / 2.272 GB, free: 84.84 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/4.253, allocations: 36 kB / 2.273 GB, free: 84.8 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007674/4.261, allocations: 2.472 MB / 2.275 GB, free: 82.32 MB / 1.404 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 1.372/5.633, allocations: 243.1 MB / 2.512 GB, free: 464.6 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/5.638, allocations: 1.985 MB / 2.514 GB, free: 462.7 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/5.64, allocations: 1.279 MB / 2.516 GB, free: 461.4 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/5.64, allocations: 39.56 kB / 2.516 GB, free: 461.3 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002865/5.643, allocations: 1.361 MB / 2.517 GB, free: 460 MB / 1.404 GB Notification: Performance of pre-optimization done (n=138): time 6.131e-06/5.643, allocations: 0.5 kB / 2.517 GB, free: 460 MB / 1.404 GB Notification: Performance of matching and sorting (n=138): time 0.02296/5.666, allocations: 4.323 MB / 2.521 GB, free: 456.1 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003063/5.667, allocations: 358.5 kB / 2.521 GB, free: 455.7 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86/9.526, allocations: 1.182 GB / 3.704 GB, free: 474.5 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/9.528, allocations: 85.7 kB / 3.704 GB, free: 474.4 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01223/9.54, allocations: 3.74 MB / 3.708 GB, free: 470.8 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/9.542, allocations: 454.1 kB / 3.708 GB, free: 470.6 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/9.543, allocations: 0.6729 MB / 3.709 GB, free: 470 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/9.544, allocations: 301.1 kB / 3.709 GB, free: 469.7 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004312/9.548, allocations: 1.933 MB / 3.711 GB, free: 467.7 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/9.553, allocations: 2.879 MB / 3.714 GB, free: 464.5 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008598/9.561, allocations: 4.618 MB / 3.718 GB, free: 459.5 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.092e-05/9.562, allocations: 9.5 kB / 3.718 GB, free: 459.5 MB / 1.404 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02123/9.583, allocations: 5.988 MB / 3.724 GB, free: 453.7 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003872/9.583, allocations: 201.6 kB / 3.724 GB, free: 453.5 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/9.583, allocations: 32.88 kB / 3.724 GB, free: 453.4 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/9.585, allocations: 116.9 kB / 3.724 GB, free: 453.3 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/9.589, allocations: 0.6161 MB / 3.725 GB, free: 452.7 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/9.593, allocations: 1.694 MB / 3.727 GB, free: 450.9 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/9.611, allocations: 1.189 MB / 3.728 GB, free: 449.7 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/9.612, allocations: 145.8 kB / 3.728 GB, free: 449.5 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * Array equations: 0 * 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.01269/9.625, allocations: 3.844 MB / 3.732 GB, free: 445.7 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01237/9.637, allocations: 0.7543 MB / 3.732 GB, free: 444.9 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/9.652, allocations: 4.352 MB / 3.737 GB, free: 440.6 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/9.652, allocations: 12 kB / 3.737 GB, free: 440.5 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/9.652, allocations: 0.75 kB / 3.737 GB, free: 440.5 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/9.652, allocations: 11.97 kB / 3.737 GB, free: 440.5 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02854/9.681, allocations: 6.784 MB / 3.743 GB, free: 433.7 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/9.681, allocations: 0 / 3.743 GB, free: 433.7 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/9.683, allocations: 207.6 kB / 3.743 GB, free: 433.5 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006827/9.684, allocations: 73.72 kB / 3.744 GB, free: 433.4 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000498/9.684, allocations: 43.97 kB / 3.744 GB, free: 433.4 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/9.687, allocations: 1.657 MB / 3.745 GB, free: 431.6 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/9.687, allocations: 3.844 kB / 3.745 GB, free: 431.6 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/9.708, allocations: 3.865 MB / 3.749 GB, free: 427.7 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01526/9.724, allocations: 3.14 MB / 3.752 GB, free: 424.5 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0124/9.736, allocations: 31.94 kB / 3.752 GB, free: 424.5 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01744/9.754, allocations: 0.7757 MB / 3.753 GB, free: 423.7 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009958/9.755, allocations: 105.1 kB / 3.753 GB, free: 423.6 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000739/9.755, allocations: 61.22 kB / 3.753 GB, free: 423.5 MB / 1.404 GB Notification: Performance of sorting global known variables: time 2.671/12.43, allocations: 0.9475 GB / 4.7 GB, free: 67.46 MB / 1.404 GB Notification: Performance of sort global known variables: time 2.956e-06/12.43, allocations: 0 / 4.7 GB, free: 67.46 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.02153/12.45, allocations: 1.882 MB / 4.702 GB, free: 65.74 MB / 1.404 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.03044/12.48, allocations: 5.354 MB / 4.708 GB, free: 61.18 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.0161/12.49, allocations: 6.564 MB / 4.714 GB, free: 54.62 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/12.49, allocations: 8 kB / 4.714 GB, free: 54.61 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.004961/12.5, allocations: 2.713 MB / 4.717 GB, free: 51.88 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01958/12.52, allocations: 0.8507 MB / 4.717 GB, free: 51.05 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 15.86/28.38, allocations: 4.835 GB / 9.553 GB, free: 362 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004883/28.39, allocations: 4.653 MB / 9.557 GB, free: 357.3 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.007755/28.39, allocations: 3.017 MB / 9.56 GB, free: 354.6 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01117/28.4, allocations: 4.028 MB / 9.564 GB, free: 350.6 MB / 1.404 GB Notification: Performance of SimCode: time 2.144e-06/28.4, allocations: 0 / 9.564 GB, free: 350.6 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.606/36.01, allocations: 0.7093 GB / 10.27 GB, free: 209.4 MB / 1.404 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/36.01, allocations: 335.5 kB / 10.27 GB, free: 209 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/48.33, allocations: 0 / 10.27 GB, free: 209 MB / 1.404 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)