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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009909/0.0009909, 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.007416/0.007416, allocations: 170 kB / 16.27 MB, free: 6.652 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 12 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6142, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008046/0.6223, allocations: 6.804 MB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.7837, allocations: 151.1 MB / 1.177 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008771/0.7846, allocations: 19.88 kB / 1.177 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.7885, allocations: 1.639 MB / 1.179 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.7902, allocations: 0.7503 MB / 1.18 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.7921, allocations: 0.9095 MB / 1.181 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.7952, allocations: 3.485 MB / 1.184 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.7963, allocations: 0.8788 MB / 1.185 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.7975, allocations: 0.9066 MB / 1.186 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009844/0.7985, allocations: 0.879 MB / 1.187 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.7986, allocations: 48 kB / 1.187 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.8016, allocations: 1.97 MB / 1.189 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.803, allocations: 1.887 MB / 1.19 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.8047, allocations: 1.835 MB / 1.192 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006545/0.8112, allocations: 7.506 MB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8112, allocations: 0 / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8112, allocations: 3.938 kB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.941e-05/0.8113, allocations: 4 kB / 1.199 GB, free: 10.51 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.008043/0.8193, allocations: 5.107 MB / 1.204 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.8194, allocations: 8.031 kB / 1.204 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.8196, allocations: 194.5 kB / 1.205 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.8207, allocations: 483.5 kB / 1.205 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7004/1.521, allocations: 321.1 MB / 1.519 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.521, allocations: 130.4 kB / 1.519 GB, free: 9.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/1.522, allocations: 180 kB / 1.519 GB, free: 9.242 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/1.524, allocations: 1.669 MB / 1.521 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/1.524, allocations: 0 / 1.521 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/1.525, allocations: 52 kB / 1.521 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.525, allocations: 31.94 kB / 1.521 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/1.527, allocations: 1.742 MB / 1.522 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/1.587, allocations: 77.1 MB / 1.598 GB, free: 8.398 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/1.589, allocations: 1.587 MB / 1.599 GB, free: 6.805 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.59, allocations: 1.031 MB / 1.6 GB, free: 5.766 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/1.59, allocations: 41.17 kB / 1.6 GB, free: 5.727 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/1.592, allocations: 0.985 MB / 1.601 GB, free: 4.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=118): time 3.075e-06/1.592, allocations: 0 / 1.601 GB, free: 4.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=118): time 0.004848/1.597, allocations: 3.015 MB / 1.604 GB, free: 1.703 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/1.597, allocations: 350.5 kB / 1.605 GB, free: 1.312 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7658/2.363, allocations: 379.7 MB / 1.975 GB, free: 184.6 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004249/2.363, allocations: 69.7 kB / 1.975 GB, free: 184.5 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/2.365, allocations: 1.609 MB / 1.977 GB, free: 183 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/2.365, allocations: 388.8 kB / 1.977 GB, free: 182.8 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/2.366, allocations: 276.7 kB / 1.978 GB, free: 182.6 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/2.366, allocations: 309.6 kB / 1.978 GB, free: 182.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/2.367, allocations: 1.441 MB / 1.979 GB, free: 180.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/2.369, allocations: 2.177 MB / 1.981 GB, free: 178.4 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/2.373, allocations: 3.549 MB / 1.985 GB, free: 174.6 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/2.373, allocations: 8 kB / 1.985 GB, free: 174.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005231/2.378, allocations: 4.271 MB / 1.989 GB, free: 170.3 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/2.378, allocations: 184.2 kB / 1.989 GB, free: 170.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/2.378, allocations: 20 kB / 1.989 GB, free: 170.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/2.378, allocations: 36 kB / 1.989 GB, free: 170 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/2.379, allocations: 479 kB / 1.99 GB, free: 169.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-05/2.379, allocations: 47.8 kB / 1.99 GB, free: 169.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/2.382, allocations: 0.567 MB / 1.99 GB, free: 168.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/2.382, allocations: 112 kB / 1.99 GB, free: 168.8 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.001715/2.384, allocations: 1.654 MB / 1.992 GB, free: 167.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000889/2.385, allocations: 351.3 kB / 1.992 GB, free: 166.8 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/2.388, allocations: 3.056 MB / 1.995 GB, free: 163.8 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/2.388, allocations: 12 kB / 1.995 GB, free: 163.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/2.388, allocations: 0 / 1.995 GB, free: 163.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/2.388, allocations: 3.984 kB / 1.995 GB, free: 163.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/2.391, allocations: 2.81 MB / 1.998 GB, free: 160.9 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/2.391, allocations: 8.062 kB / 1.998 GB, free: 160.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/2.392, allocations: 163.8 kB / 1.998 GB, free: 160.7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/2.392, allocations: 4 kB / 1.998 GB, free: 160.7 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/2.392, allocations: 39.91 kB / 1.998 GB, free: 160.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/2.392, allocations: 4 kB / 1.998 GB, free: 160.7 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.392, allocations: 0 / 1.998 GB, free: 160.7 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/2.395, allocations: 2.826 MB / 2.001 GB, free: 157.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/2.397, allocations: 1.257 MB / 2.002 GB, free: 156.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/2.398, allocations: 27.94 kB / 2.002 GB, free: 156.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/2.399, allocations: 326.7 kB / 2.003 GB, free: 156.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/2.4, allocations: 84.88 kB / 2.003 GB, free: 156.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/2.4, allocations: 47.97 kB / 2.003 GB, free: 156.1 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.6063/3.006, allocations: 305.4 MB / 2.301 GB, free: 314.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.01e-07/3.006, allocations: 0 / 2.301 GB, free: 314.4 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003096/3.009, allocations: 1.241 MB / 2.302 GB, free: 313.3 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.005055/3.014, allocations: 4.228 MB / 2.306 GB, free: 309.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003607/3.018, allocations: 4.629 MB / 2.311 GB, free: 305 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/3.018, allocations: 0 / 2.311 GB, free: 305 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/3.019, allocations: 2.251 MB / 2.313 GB, free: 302.8 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/3.022, allocations: 464.7 kB / 2.313 GB, free: 302.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.548/5.569, allocations: 1.516 GB / 3.829 GB, free: 187 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/5.571, allocations: 2.364 MB / 3.831 GB, free: 184.7 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003092/5.574, allocations: 1.25 MB / 3.833 GB, free: 183.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/5.577, allocations: 1.76 MB / 3.834 GB, free: 181.8 MB / 1.232 GB Notification: Performance of SimCode: time 9.61e-07/5.577, allocations: 0 / 3.834 GB, free: 181.8 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7081/6.285, allocations: 192.6 MB / 4.022 GB, free: 451.8 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/6.285, allocations: 287.9 kB / 4.023 GB, free: 451.4 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/10.27, allocations: 0 / 4.023 GB, free: 451.4 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)