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.004767/0.004767, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001316/0.001316, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.374/2.374, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 75.86 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009568/0.2563, allocations: 8.556 MB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.6076/0.864, allocations: 159.4 MB / 1.33 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.865, allocations: 38.81 kB / 1.33 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.8693, allocations: 1.993 MB / 1.332 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.8716, allocations: 1.24 MB / 1.333 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.8745, allocations: 1.454 MB / 1.335 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004461/0.8789, allocations: 5.444 MB / 1.34 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.8804, allocations: 1.223 MB / 1.341 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.8824, allocations: 1.731 MB / 1.343 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.884, allocations: 1.559 MB / 1.345 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.8844, allocations: 290.4 kB / 1.345 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.8883, allocations: 2.572 MB / 1.347 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003253/0.8916, allocations: 4.777 MB / 1.352 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004634/0.8962, allocations: 4.863 MB / 1.357 GB, free: 6.816 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.911, allocations: 17.9 MB / 1.374 GB, free: 12.01 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.911, allocations: 2.5 kB / 1.374 GB, free: 12.01 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.911, allocations: 0 / 1.374 GB, free: 12.01 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001727/0.9112, allocations: 4 kB / 1.374 GB, free: 12.01 MB / 1.045 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.02345/0.9346, allocations: 14.42 MB / 1.388 GB, free: 1.301 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.9347, allocations: 12.03 kB / 1.388 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/0.935, allocations: 240.9 kB / 1.389 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.9381, allocations: 0.9636 MB / 1.39 GB, free: 76 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.573/2.511, allocations: 0.9948 GB / 2.384 GB, free: 0.5023 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/2.511, allocations: 172.2 kB / 2.385 GB, free: 0.5023 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/2.511, allocations: 236.4 kB / 2.385 GB, free: 0.5022 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/2.515, allocations: 2.371 MB / 2.387 GB, free: 0.5013 GB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/2.515, allocations: 0 / 2.387 GB, free: 0.5013 GB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/2.515, allocations: 73.12 kB / 2.387 GB, free: 0.5013 GB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/2.515, allocations: 38.06 kB / 2.387 GB, free: 0.5013 GB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/2.519, allocations: 2.465 MB / 2.39 GB, free: 0.5006 GB / 1.467 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.1121/2.631, allocations: 243.1 MB / 2.627 GB, free: 312.6 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/2.633, allocations: 1.983 MB / 2.629 GB, free: 310.7 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/2.634, allocations: 1.281 MB / 2.63 GB, free: 309.4 MB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/2.635, allocations: 37.88 kB / 2.63 GB, free: 309.4 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/2.636, allocations: 1.358 MB / 2.632 GB, free: 308 MB / 1.467 GB Notification: Performance of pre-optimization done (n=138): time 2.264e-06/2.636, allocations: 0 / 2.632 GB, free: 308 MB / 1.467 GB Notification: Performance of matching and sorting (n=138): time 0.008248/2.644, allocations: 4.37 MB / 2.636 GB, free: 303.6 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/2.644, allocations: 358.5 kB / 2.636 GB, free: 303.2 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.958/4.602, allocations: 1.182 GB / 3.818 GB, free: 238 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0005038/4.603, allocations: 85.7 kB / 3.819 GB, free: 237.9 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.003451/4.606, allocations: 3.751 MB / 3.822 GB, free: 234.4 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/4.607, allocations: 479.4 kB / 3.823 GB, free: 234.2 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/4.607, allocations: 0.678 MB / 3.823 GB, free: 233.5 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 2.982e-05/4.607, allocations: 306.4 kB / 3.824 GB, free: 233.2 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/4.609, allocations: 1.924 MB / 3.826 GB, free: 231.3 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/4.611, allocations: 2.879 MB / 3.828 GB, free: 228 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/4.615, allocations: 4.612 MB / 3.833 GB, free: 223.1 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/4.615, allocations: 12 kB / 3.833 GB, free: 223.1 MB / 1.467 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008594/4.623, allocations: 6.025 MB / 3.839 GB, free: 217 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/4.623, allocations: 205.7 kB / 3.839 GB, free: 216.8 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/4.624, allocations: 32 kB / 3.839 GB, free: 216.8 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/4.624, allocations: 120.8 kB / 3.839 GB, free: 216.6 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/4.626, allocations: 0.6149 MB / 3.84 GB, free: 216 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1016/4.727, allocations: 1.696 MB / 3.841 GB, free: 214.2 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/4.732, allocations: 1.187 MB / 3.842 GB, free: 213 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/4.732, allocations: 146.9 kB / 3.843 GB, free: 212.9 MB / 1.467 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.002936/4.735, allocations: 3.843 MB / 3.846 GB, free: 209 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/4.737, allocations: 0.7914 MB / 3.847 GB, free: 208.2 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/4.741, allocations: 4.355 MB / 3.851 GB, free: 203.8 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/4.741, allocations: 12 kB / 3.851 GB, free: 203.8 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.741, allocations: 0 / 3.851 GB, free: 203.8 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/4.741, allocations: 7.969 kB / 3.851 GB, free: 203.8 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/4.746, allocations: 6.784 MB / 3.858 GB, free: 197 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/4.746, allocations: 0 / 3.858 GB, free: 197 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/4.746, allocations: 211.6 kB / 3.858 GB, free: 196.8 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/4.747, allocations: 76.78 kB / 3.858 GB, free: 196.7 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/4.747, allocations: 35.98 kB / 3.858 GB, free: 196.7 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/4.748, allocations: 1.663 MB / 3.86 GB, free: 194.9 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/4.748, allocations: 8.094 kB / 3.86 GB, free: 194.9 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/4.753, allocations: 3.896 MB / 3.864 GB, free: 190.9 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/4.755, allocations: 3.176 MB / 3.867 GB, free: 187.7 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/4.757, allocations: 43.89 kB / 3.867 GB, free: 187.7 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/4.759, allocations: 0.7605 MB / 3.868 GB, free: 186.9 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/4.76, allocations: 101.1 kB / 3.868 GB, free: 186.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/4.76, allocations: 71.95 kB / 3.868 GB, free: 186.8 MB / 1.467 GB Notification: Performance of sorting global known variables: time 1.467/6.227, allocations: 0.9475 GB / 4.815 GB, free: 360.2 MB / 1.467 GB Notification: Performance of sort global known variables: time 6.61e-07/6.227, allocations: 0 / 4.815 GB, free: 360.2 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.006542/6.233, allocations: 1.89 MB / 4.817 GB, free: 358.5 MB / 1.467 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.008968/6.242, allocations: 5.415 MB / 4.822 GB, free: 353.9 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.004618/6.247, allocations: 5.725 MB / 4.828 GB, free: 348.2 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/6.247, allocations: 7.938 kB / 4.828 GB, free: 348.2 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/6.249, allocations: 2.718 MB / 4.831 GB, free: 345.4 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/6.253, allocations: 0.8452 MB / 4.832 GB, free: 344.6 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.398/12.65, allocations: 4.771 GB / 9.603 GB, free: 107.5 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/12.65, allocations: 4.646 MB / 9.607 GB, free: 102.8 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.005427/12.66, allocations: 3.019 MB / 9.61 GB, free: 99.91 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004518/12.66, allocations: 4.029 MB / 9.614 GB, free: 95.88 MB / 1.482 GB Notification: Performance of SimCode: time 6.21e-07/12.66, allocations: 0 / 9.614 GB, free: 95.88 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.966/19.63, allocations: 0.713 GB / 10.33 GB, free: 0.5103 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.41/71.04, allocations: 11.14 kB / 10.33 GB, free: 0.5103 GB / 1.498 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=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)