Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_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.007197/0.007197, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001519/0.001519, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.05/2.05, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8353, allocations: 140.4 MB / 1.087 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007438/0.8428, allocations: 6.047 MB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1827/1.026, allocations: 155.4 MB / 1.245 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/1.027, allocations: 24.84 kB / 1.245 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004686/1.032, allocations: 1.773 MB / 1.247 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002867/1.035, allocations: 0.7498 MB / 1.248 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/1.038, allocations: 1.02 MB / 1.249 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003495/1.041, allocations: 3.366 MB / 1.252 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/1.042, allocations: 0.9478 MB / 1.253 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/1.044, allocations: 1.134 MB / 1.254 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/1.045, allocations: 1.035 MB / 1.255 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/1.045, allocations: 196 kB / 1.255 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/1.049, allocations: 2.235 MB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001558/1.05, allocations: 2.043 MB / 1.259 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/1.052, allocations: 2.126 MB / 1.261 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009265/1.062, allocations: 7.78 MB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.062, allocations: 0 / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.062, allocations: 0 / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.287e-05/1.062, allocations: 0 / 1.269 GB, free: 3.801 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01162/1.073, allocations: 6.2 MB / 1.275 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.073, allocations: 12.03 kB / 1.275 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/1.074, allocations: 194.5 kB / 1.275 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.075, allocations: 471.5 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7841/1.859, allocations: 321.1 MB / 1.589 GB, free: 448 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/1.859, allocations: 137.1 kB / 1.589 GB, free: 448 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/1.86, allocations: 179 kB / 1.59 GB, free: 447.9 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/1.863, allocations: 1.665 MB / 1.591 GB, free: 447.3 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.863, allocations: 0 / 1.591 GB, free: 447.3 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.863, allocations: 57.67 kB / 1.591 GB, free: 447.2 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/1.863, allocations: 29.47 kB / 1.591 GB, free: 447.2 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/1.866, allocations: 1.727 MB / 1.593 GB, free: 446.8 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/1.929, allocations: 76.57 MB / 1.668 GB, free: 409.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.931, allocations: 1.587 MB / 1.669 GB, free: 407.8 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/1.932, allocations: 1.032 MB / 1.67 GB, free: 406.8 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/1.932, allocations: 34.73 kB / 1.67 GB, free: 406.8 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/1.933, allocations: 0.978 MB / 1.671 GB, free: 406 MB / 1.311 GB Notification: Performance of pre-optimization done (n=118): time 4.087e-06/1.933, allocations: 4 kB / 1.671 GB, free: 406 MB / 1.311 GB Notification: Performance of matching and sorting (n=118): time 0.005426/1.939, allocations: 3.012 MB / 1.674 GB, free: 403.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.939, allocations: 347.3 kB / 1.675 GB, free: 402.9 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3573/2.296, allocations: 379.7 MB / 2.045 GB, free: 23.74 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003888/2.297, allocations: 73.7 kB / 2.045 GB, free: 23.66 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/2.298, allocations: 1.61 MB / 2.047 GB, free: 22.06 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/2.298, allocations: 387.4 kB / 2.047 GB, free: 21.68 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/2.299, allocations: 0.508 MB / 2.048 GB, free: 21.17 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/2.299, allocations: 309 kB / 2.048 GB, free: 20.86 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/2.301, allocations: 1.437 MB / 2.049 GB, free: 19.42 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/2.302, allocations: 2.173 MB / 2.052 GB, free: 16.93 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/2.306, allocations: 3.535 MB / 2.055 GB, free: 13.09 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/2.306, allocations: 4 kB / 2.055 GB, free: 13.09 MB / 1.311 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005897/2.312, allocations: 4.256 MB / 2.059 GB, free: 8.812 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/2.312, allocations: 185.7 kB / 2.059 GB, free: 8.625 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/2.312, allocations: 24 kB / 2.059 GB, free: 8.602 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/2.312, allocations: 32 kB / 2.059 GB, free: 8.57 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/2.313, allocations: 475.1 kB / 2.06 GB, free: 8.105 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/2.313, allocations: 43.86 kB / 2.06 GB, free: 8.062 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/2.316, allocations: 0.5471 MB / 2.06 GB, free: 7.512 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/2.316, allocations: 111.9 kB / 2.061 GB, free: 7.402 MB / 1.311 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.00191/2.318, allocations: 1.676 MB / 2.062 GB, free: 5.719 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/2.32, allocations: 351.3 kB / 2.063 GB, free: 5.371 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/2.323, allocations: 3.036 MB / 2.066 GB, free: 2.316 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/2.323, allocations: 8 kB / 2.066 GB, free: 2.309 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/2.323, allocations: 8 kB / 2.066 GB, free: 2.301 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/2.323, allocations: 3.984 kB / 2.066 GB, free: 2.297 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/2.326, allocations: 2.821 MB / 2.068 GB, free: 15.44 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/2.326, allocations: 0 / 2.068 GB, free: 15.44 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/2.327, allocations: 159.8 kB / 2.068 GB, free: 15.28 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/2.327, allocations: 4 kB / 2.068 GB, free: 15.28 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/2.327, allocations: 39.97 kB / 2.068 GB, free: 15.24 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/2.327, allocations: 4 kB / 2.068 GB, free: 15.23 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/2.327, allocations: 3.984 kB / 2.068 GB, free: 15.23 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/2.331, allocations: 2.82 MB / 2.071 GB, free: 12.38 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/2.333, allocations: 1.226 MB / 2.072 GB, free: 11.13 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/2.334, allocations: 35.98 kB / 2.072 GB, free: 11.09 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/2.335, allocations: 297.3 kB / 2.073 GB, free: 10.8 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/2.335, allocations: 88.88 kB / 2.073 GB, free: 10.72 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/2.336, allocations: 43.98 kB / 2.073 GB, free: 10.68 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.6854/3.021, allocations: 305.4 MB / 2.371 GB, free: 251.7 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.633e-06/3.021, allocations: 0 / 2.371 GB, free: 251.7 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004617/3.026, allocations: 1.221 MB / 2.372 GB, free: 250.6 MB / 1.342 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.008547/3.034, allocations: 4.233 MB / 2.376 GB, free: 247 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004533/3.039, allocations: 4.623 MB / 2.381 GB, free: 242.4 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/3.039, allocations: 4 kB / 2.381 GB, free: 242.4 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/3.04, allocations: 2.241 MB / 2.383 GB, free: 240.1 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/3.044, allocations: 471.4 kB / 2.384 GB, free: 239.7 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.6/5.645, allocations: 1.504 GB / 3.888 GB, free: 270.8 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/5.647, allocations: 2.349 MB / 3.89 GB, free: 268.4 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002758/5.65, allocations: 1.26 MB / 3.891 GB, free: 267.3 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/5.652, allocations: 1.753 MB / 3.893 GB, free: 265.5 MB / 1.342 GB Notification: Performance of SimCode: time 6.91e-07/5.652, allocations: 0 / 3.893 GB, free: 265.5 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7715/6.424, allocations: 252.5 MB / 4.139 GB, free: 14.45 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/23.68, allocations: 4.438 kB / 4.139 GB, free: 14.44 MB / 1.342 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)