Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_10_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.001457/0.001457, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001758/0.001758, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437 MB / 0.7101 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 67.84 kB / 0.8689 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.518, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00837/0.5264, allocations: 8.497 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.6657, allocations: 157.2 MB / 1.179 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.6669, allocations: 35.75 kB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.6709, allocations: 1.818 MB / 1.181 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.6733, allocations: 1.164 MB / 1.182 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.6759, allocations: 1.304 MB / 1.183 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.6797, allocations: 5.434 MB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.681, allocations: 1.223 MB / 1.189 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.6826, allocations: 1.776 MB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.684, allocations: 1.619 MB / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.6843, allocations: 292 kB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.6872, allocations: 2.548 MB / 1.196 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.6901, allocations: 4.78 MB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.6937, allocations: 4.864 MB / 1.205 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.7057, allocations: 17.7 MB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7057, allocations: 8 kB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7058, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001449/0.7059, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9825 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.02269/0.7286, allocations: 14.11 MB / 1.236 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7287, allocations: 8.031 kB / 1.236 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002649/0.7289, allocations: 244.9 kB / 1.236 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.732, allocations: 0.9195 MB / 1.237 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.801/2.533, allocations: 0.9946 GB / 2.232 GB, free: 430 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/2.533, allocations: 175.6 kB / 2.232 GB, free: 429.9 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/2.534, allocations: 235.2 kB / 2.232 GB, free: 429.8 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/2.537, allocations: 2.379 MB / 2.234 GB, free: 428.5 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/2.537, allocations: 0 / 2.234 GB, free: 428.5 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/2.537, allocations: 71.78 kB / 2.234 GB, free: 428.5 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/2.537, allocations: 37.56 kB / 2.235 GB, free: 428.5 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/2.54, allocations: 2.469 MB / 2.237 GB, free: 427.4 MB / 1.248 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 0.09926/2.639, allocations: 243.1 MB / 2.474 GB, free: 185.7 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/2.641, allocations: 1.993 MB / 2.476 GB, free: 183.7 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/2.642, allocations: 1.281 MB / 2.478 GB, free: 182.4 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/2.642, allocations: 36.94 kB / 2.478 GB, free: 182.4 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/2.644, allocations: 1.358 MB / 2.479 GB, free: 181 MB / 1.248 GB Notification: Performance of pre-optimization done (n=138): time 2.905e-06/2.644, allocations: 0 / 2.479 GB, free: 181 MB / 1.248 GB Notification: Performance of matching and sorting (n=138): time 0.0084/2.652, allocations: 4.32 MB / 2.483 GB, free: 176.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/2.652, allocations: 362.5 kB / 2.483 GB, free: 176.3 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.282/4.934, allocations: 1.182 GB / 3.666 GB, free: 456 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004895/4.935, allocations: 79.33 kB / 3.666 GB, free: 455.9 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.004081/4.939, allocations: 3.745 MB / 3.67 GB, free: 453.4 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/4.939, allocations: 456.5 kB / 3.67 GB, free: 453.2 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/4.94, allocations: 0.6766 MB / 3.671 GB, free: 453 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 2.921e-05/4.94, allocations: 301.9 kB / 3.671 GB, free: 452.7 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/4.942, allocations: 1.928 MB / 3.673 GB, free: 452.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/4.944, allocations: 2.879 MB / 3.676 GB, free: 450.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/4.948, allocations: 4.616 MB / 3.68 GB, free: 448.1 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/4.948, allocations: 7.75 kB / 3.68 GB, free: 448.1 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009235/4.957, allocations: 5.982 MB / 3.686 GB, free: 446.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/4.958, allocations: 205.6 kB / 3.686 GB, free: 446 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/4.958, allocations: 30.34 kB / 3.686 GB, free: 446 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/4.958, allocations: 119.3 kB / 3.686 GB, free: 446 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/4.96, allocations: 0.6185 MB / 3.687 GB, free: 445.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/4.961, allocations: 1.7 MB / 3.689 GB, free: 444.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/4.966, allocations: 1.191 MB / 3.69 GB, free: 444 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/4.966, allocations: 143.4 kB / 3.69 GB, free: 444 MB / 1.264 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.003351/4.97, allocations: 3.846 MB / 3.694 GB, free: 442.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/4.972, allocations: 0.7563 MB / 3.694 GB, free: 441.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/4.976, allocations: 4.359 MB / 3.699 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/4.976, allocations: 12 kB / 3.699 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/4.976, allocations: 0 / 3.699 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/4.976, allocations: 7.266 kB / 3.699 GB, free: 437.9 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/4.981, allocations: 6.774 MB / 3.705 GB, free: 431.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/4.981, allocations: 8 kB / 3.705 GB, free: 431.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/4.982, allocations: 211.6 kB / 3.705 GB, free: 431.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/4.982, allocations: 72.78 kB / 3.706 GB, free: 431.1 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/4.982, allocations: 39.98 kB / 3.706 GB, free: 431.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/4.984, allocations: 1.656 MB / 3.707 GB, free: 429.3 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/4.984, allocations: 0 / 3.707 GB, free: 429.3 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/4.988, allocations: 3.868 MB / 3.711 GB, free: 425.3 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/4.991, allocations: 3.128 MB / 3.714 GB, free: 422.2 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/4.992, allocations: 43.94 kB / 3.714 GB, free: 422.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/4.995, allocations: 0.7809 MB / 3.715 GB, free: 421.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/4.996, allocations: 93.19 kB / 3.715 GB, free: 421.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/4.996, allocations: 67.95 kB / 3.715 GB, free: 421.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 1.323/6.319, allocations: 0.9475 GB / 4.662 GB, free: 429 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.51e-07/6.319, allocations: 0 / 4.662 GB, free: 429 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005907/6.325, allocations: 1.877 MB / 4.664 GB, free: 427.3 MB / 1.264 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.008058/6.333, allocations: 5.343 MB / 4.67 GB, free: 423.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00669/6.34, allocations: 6.577 MB / 4.676 GB, free: 417.1 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/6.34, allocations: 0 / 4.676 GB, free: 417.1 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/6.341, allocations: 2.716 MB / 4.679 GB, free: 414.6 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/6.345, allocations: 0.8452 MB / 4.679 GB, free: 413.8 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.922/13.27, allocations: 4.835 GB / 9.515 GB, free: 269.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/13.27, allocations: 4.65 MB / 9.519 GB, free: 264.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005759/13.28, allocations: 3.011 MB / 9.522 GB, free: 261.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005147/13.28, allocations: 4.033 MB / 9.526 GB, free: 257.8 MB / 1.279 GB Notification: Performance of SimCode: time 6.41e-07/13.28, allocations: 1.594 kB / 9.526 GB, free: 257.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.752/18.03, allocations: 0.7093 GB / 10.24 GB, free: 80.27 MB / 1.295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/18.03, allocations: 324.8 kB / 10.24 GB, free: 79.89 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.797/23.83, allocations: 0 / 10.24 GB, free: 79.89 MB / 1.295 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)