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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009377/0.0009378, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005842/0.005842, allocations: 174 kB / 16.27 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8.844 kB / 0.9029 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00907/0.2937, allocations: 7.99 MB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.4489, allocations: 152 MB / 1.215 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.4504, allocations: 27.81 kB / 1.215 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005128/0.4556, allocations: 1.814 MB / 1.217 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.46, allocations: 1.147 MB / 1.218 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.4638, allocations: 1.251 MB / 1.219 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005442/0.4692, allocations: 5.402 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.471, allocations: 1.16 MB / 1.226 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.4733, allocations: 1.311 MB / 1.227 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.4754, allocations: 1.315 MB / 1.228 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.4759, allocations: 68 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.4797, allocations: 2.223 MB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.4832, allocations: 4.519 MB / 1.235 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004866/0.4881, allocations: 4.03 MB / 1.239 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.505/0.9931, allocations: 17.14 MB / 1.255 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9932, allocations: 2.797 kB / 1.255 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9932, allocations: 0 / 1.255 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002668/0.9934, allocations: 4.484 kB / 1.255 GB, free: 15.38 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.02402/1.017, allocations: 11.39 MB / 1.267 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.018, allocations: 10 kB / 1.267 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007541/1.018, allocations: 244.2 kB / 1.267 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/1.023, allocations: 0.9275 MB / 1.268 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.289/2.312, allocations: 0.9973 GB / 2.265 GB, free: 121.6 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/2.312, allocations: 171.8 kB / 2.265 GB, free: 121.5 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000754/2.313, allocations: 240 kB / 2.265 GB, free: 121.2 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/2.318, allocations: 2.386 MB / 2.268 GB, free: 118.8 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/2.318, allocations: 0 / 2.268 GB, free: 118.8 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/2.318, allocations: 72 kB / 2.268 GB, free: 118.7 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/2.318, allocations: 36 kB / 2.268 GB, free: 118.7 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/2.321, allocations: 2.487 MB / 2.27 GB, free: 116.2 MB / 1.42 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.6313/2.953, allocations: 243.2 MB / 2.508 GB, free: 0.4987 GB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/2.956, allocations: 1.991 MB / 2.51 GB, free: 0.4967 GB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/2.957, allocations: 1.288 MB / 2.511 GB, free: 0.4955 GB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 8.774e-05/2.957, allocations: 35.3 kB / 2.511 GB, free: 0.4954 GB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/2.958, allocations: 1.37 MB / 2.512 GB, free: 0.4941 GB / 1.42 GB Notification: Performance of pre-optimization done (n=138): time 3.036e-06/2.958, allocations: 3.375 kB / 2.512 GB, free: 0.4941 GB / 1.42 GB Notification: Performance of matching and sorting (n=138): time 0.009559/2.968, allocations: 4.346 MB / 2.517 GB, free: 0.4903 GB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/2.968, allocations: 363.3 kB / 2.517 GB, free: 0.4899 GB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.07/5.039, allocations: 1.182 GB / 3.699 GB, free: 0.5332 GB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0005563/5.039, allocations: 81.7 kB / 3.699 GB, free: 0.5331 GB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.004416/5.044, allocations: 3.752 MB / 3.703 GB, free: 0.5297 GB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/5.044, allocations: 450.6 kB / 3.704 GB, free: 0.5295 GB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/5.044, allocations: 355.7 kB / 3.704 GB, free: 0.5292 GB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.314e-05/5.044, allocations: 301.8 kB / 3.704 GB, free: 0.5289 GB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/5.046, allocations: 1.94 MB / 3.706 GB, free: 0.527 GB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/5.049, allocations: 2.887 MB / 3.709 GB, free: 0.5238 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/5.052, allocations: 4.642 MB / 3.713 GB, free: 0.5189 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/5.052, allocations: 9.5 kB / 3.713 GB, free: 0.5189 GB / 1.42 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008546/5.061, allocations: 6.005 MB / 3.719 GB, free: 0.5132 GB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/5.061, allocations: 201.6 kB / 3.719 GB, free: 0.513 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/5.061, allocations: 28 kB / 3.719 GB, free: 0.513 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/5.062, allocations: 124.8 kB / 3.72 GB, free: 0.5129 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/5.063, allocations: 0.6161 MB / 3.72 GB, free: 0.5123 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/5.065, allocations: 1.586 MB / 3.722 GB, free: 0.5106 GB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/5.07, allocations: 1.203 MB / 3.723 GB, free: 0.5094 GB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/5.07, allocations: 144 kB / 3.723 GB, free: 0.5093 GB / 1.42 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.00425/5.074, allocations: 3.848 MB / 3.727 GB, free: 0.5055 GB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/5.076, allocations: 0.7516 MB / 3.728 GB, free: 0.5048 GB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/5.081, allocations: 4.377 MB / 3.732 GB, free: 0.5005 GB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/5.081, allocations: 15.94 kB / 3.732 GB, free: 0.5005 GB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.081, allocations: 0 / 3.732 GB, free: 0.5005 GB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/5.081, allocations: 7.969 kB / 3.732 GB, free: 0.5005 GB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/5.087, allocations: 6.769 MB / 3.738 GB, free: 0.4938 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/5.087, allocations: 0 / 3.738 GB, free: 0.4938 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/5.088, allocations: 226.7 kB / 3.739 GB, free: 0.4936 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/5.089, allocations: 81.88 kB / 3.739 GB, free: 0.4935 GB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/5.089, allocations: 43.97 kB / 3.739 GB, free: 0.4935 GB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/5.09, allocations: 1.541 MB / 3.74 GB, free: 0.4919 GB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/5.09, allocations: 4.062 kB / 3.74 GB, free: 0.4919 GB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/5.096, allocations: 3.89 MB / 3.744 GB, free: 499.7 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003918/5.1, allocations: 3.156 MB / 3.747 GB, free: 496.5 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/5.101, allocations: 28 kB / 3.747 GB, free: 496.5 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/5.104, allocations: 0.7928 MB / 3.748 GB, free: 495.7 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/5.104, allocations: 98.97 kB / 3.748 GB, free: 495.6 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/5.105, allocations: 67.95 kB / 3.748 GB, free: 495.6 MB / 1.42 GB Notification: Performance of sorting global known variables: time 1.012/6.116, allocations: 0.9475 GB / 4.696 GB, free: 151.4 MB / 1.42 GB Notification: Performance of sort global known variables: time 6.51e-07/6.116, allocations: 0 / 4.696 GB, free: 151.4 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.007159/6.123, allocations: 1.881 MB / 4.697 GB, free: 149.7 MB / 1.42 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.008176/6.132, allocations: 5.376 MB / 4.703 GB, free: 145.2 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.004976/6.137, allocations: 5.737 MB / 4.708 GB, free: 139.4 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.137, allocations: 3.938 kB / 4.708 GB, free: 139.4 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/6.139, allocations: 2.72 MB / 4.711 GB, free: 136.7 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/6.143, allocations: 0.8108 MB / 4.712 GB, free: 135.9 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.028/13.17, allocations: 4.836 GB / 9.547 GB, free: 495.9 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/13.17, allocations: 4.651 MB / 9.552 GB, free: 491.6 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.006021/13.18, allocations: 3.025 MB / 9.555 GB, free: 488.8 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005126/13.19, allocations: 4.027 MB / 9.559 GB, free: 484.8 MB / 1.42 GB Notification: Performance of SimCode: time 7.21e-07/13.19, allocations: 0 / 9.559 GB, free: 484.8 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.37/14.56, allocations: 0.5103 GB / 10.07 GB, free: 0.533 GB / 1.42 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/14.56, allocations: 337.5 kB / 10.07 GB, free: 0.5326 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/21.4, allocations: 0 / 10.07 GB, free: 0.5326 GB / 1.42 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)