Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_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.001308/0.001308, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 196.5 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.556/2.556, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.92/0.9215, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01016/0.9317, allocations: 7.297 MB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1789/1.111, allocations: 155.5 MB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/1.113, allocations: 27.88 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005635/1.118, allocations: 1.809 MB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.121, allocations: 0.8526 MB / 1.179 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/1.124, allocations: 1.021 MB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004422/1.129, allocations: 3.563 MB / 1.183 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.13, allocations: 0.9133 MB / 1.184 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/1.132, allocations: 1.149 MB / 1.185 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/1.133, allocations: 1.064 MB / 1.187 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/1.133, allocations: 196 kB / 1.187 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/1.137, allocations: 2.2 MB / 1.189 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/1.138, allocations: 2.055 MB / 1.191 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001948/1.14, allocations: 2.157 MB / 1.193 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007867/1.148, allocations: 7.765 MB / 1.201 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.148, allocations: 4 kB / 1.201 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.575e-06/1.148, allocations: 0 / 1.201 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.825e-05/1.148, allocations: 0 / 1.201 GB, free: 6.219 MB / 0.9512 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.01232/1.16, allocations: 6.239 MB / 1.207 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.161, allocations: 8.031 kB / 1.207 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003107/1.161, allocations: 198.5 kB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/1.163, allocations: 471.5 kB / 1.207 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7008/1.864, allocations: 321.1 MB / 1.521 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/1.864, allocations: 134.3 kB / 1.521 GB, free: 6.441 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/1.864, allocations: 180 kB / 1.521 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/1.867, allocations: 1.66 MB / 1.523 GB, free: 4.543 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/1.867, allocations: 4 kB / 1.523 GB, free: 4.539 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.867, allocations: 52 kB / 1.523 GB, free: 4.488 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.867, allocations: 28 kB / 1.523 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/1.87, allocations: 1.734 MB / 1.525 GB, free: 2.719 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/1.926, allocations: 77 MB / 1.6 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/1.929, allocations: 1.587 MB / 1.601 GB, free: 3.934 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/1.93, allocations: 1.033 MB / 1.602 GB, free: 2.898 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/1.93, allocations: 37.02 kB / 1.602 GB, free: 2.863 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.932, allocations: 0.9811 MB / 1.603 GB, free: 1.871 MB / 1.107 GB Notification: Performance of pre-optimization done (n=118): time 3.095e-06/1.932, allocations: 0 / 1.603 GB, free: 1.871 MB / 1.107 GB Notification: Performance of matching and sorting (n=118): time 0.005794/1.938, allocations: 3.007 MB / 1.606 GB, free: 14.84 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/1.938, allocations: 346.5 kB / 1.607 GB, free: 14.46 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8564/2.794, allocations: 379.7 MB / 1.977 GB, free: 200.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/2.795, allocations: 77.69 kB / 1.977 GB, free: 200.4 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/2.796, allocations: 1.607 MB / 1.979 GB, free: 199 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/2.796, allocations: 385 kB / 1.979 GB, free: 198.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005141/2.797, allocations: 0.5192 MB / 1.98 GB, free: 198.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/2.797, allocations: 304.9 kB / 1.98 GB, free: 197.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/2.798, allocations: 1.433 MB / 1.982 GB, free: 196.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/2.8, allocations: 2.171 MB / 1.984 GB, free: 194 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/2.803, allocations: 3.54 MB / 1.987 GB, free: 190.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/2.803, allocations: 8 kB / 1.987 GB, free: 190.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005735/2.809, allocations: 4.252 MB / 1.991 GB, free: 185.9 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/2.809, allocations: 193.7 kB / 1.991 GB, free: 185.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/2.809, allocations: 20 kB / 1.991 GB, free: 185.7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/2.809, allocations: 32 kB / 1.991 GB, free: 185.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/2.811, allocations: 482.5 kB / 1.992 GB, free: 185.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/2.811, allocations: 46.12 kB / 1.992 GB, free: 185.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/2.813, allocations: 0.5459 MB / 1.993 GB, free: 184.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/2.814, allocations: 112 kB / 1.993 GB, free: 184.5 MB / 1.217 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.001956/2.816, allocations: 1.664 MB / 1.994 GB, free: 182.9 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/2.817, allocations: 349.2 kB / 1.995 GB, free: 182.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/2.82, allocations: 3.047 MB / 1.998 GB, free: 179.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.82, allocations: 12 kB / 1.998 GB, free: 179.4 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.82, allocations: 0 / 1.998 GB, free: 179.4 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/2.82, allocations: 3.984 kB / 1.998 GB, free: 179.4 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/2.823, allocations: 2.815 MB / 2 GB, free: 176.6 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.823, allocations: 0 / 2 GB, free: 176.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/2.823, allocations: 163.8 kB / 2 GB, free: 176.4 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/2.823, allocations: 4 kB / 2 GB, free: 176.4 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/2.823, allocations: 43.84 kB / 2.001 GB, free: 176.4 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/2.823, allocations: 7.75 kB / 2.001 GB, free: 176.4 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.823, allocations: 0 / 2.001 GB, free: 176.4 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/2.827, allocations: 2.809 MB / 2.003 GB, free: 173.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/2.828, allocations: 1.233 MB / 2.004 GB, free: 172.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/2.829, allocations: 41.47 kB / 2.005 GB, free: 172.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/2.83, allocations: 305.6 kB / 2.005 GB, free: 171.9 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/2.831, allocations: 76.89 kB / 2.005 GB, free: 171.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/2.831, allocations: 51.97 kB / 2.005 GB, free: 171.8 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.6345/3.465, allocations: 305.3 MB / 2.303 GB, free: 333 MB / 1.217 GB Notification: Performance of sort global known variables: time 6.21e-07/3.465, allocations: 0 / 2.303 GB, free: 333 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004138/3.469, allocations: 1.238 MB / 2.304 GB, free: 331.9 MB / 1.217 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.006722/3.476, allocations: 4.228 MB / 2.308 GB, free: 328.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005027/3.481, allocations: 5.275 MB / 2.314 GB, free: 322.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/3.481, allocations: 0 / 2.314 GB, free: 322.9 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/3.483, allocations: 2.247 MB / 2.316 GB, free: 320.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/3.485, allocations: 492.9 kB / 2.316 GB, free: 320.2 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.337/5.823, allocations: 1.515 GB / 3.831 GB, free: 200 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/5.824, allocations: 2.363 MB / 3.833 GB, free: 197.6 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002597/5.827, allocations: 1.251 MB / 3.835 GB, free: 196.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/5.829, allocations: 1.757 MB / 3.836 GB, free: 194.8 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/5.829, allocations: 6.656 kB / 3.836 GB, free: 194.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/6.981, allocations: 255.4 MB / 4.086 GB, free: 413.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.889/16.87, allocations: 3.672 kB / 4.086 GB, free: 413.3 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)