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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.115/3.115, allocations: 0.5002 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 69.81 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0115/0.4141, allocations: 8.658 MB / 1.354 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2019/0.616, allocations: 163 MB / 1.513 GB, free: 4.141 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.6182, allocations: 51.62 kB / 1.513 GB, free: 4.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006231/0.6244, allocations: 2.202 MB / 1.515 GB, free: 1.879 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.6285, allocations: 1.289 MB / 1.516 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.6326, allocations: 1.556 MB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007517/0.6401, allocations: 5.777 MB / 1.524 GB, free: 9.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.642, allocations: 0.8144 MB / 1.524 GB, free: 8.387 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.6453, allocations: 1.753 MB / 1.526 GB, free: 6.629 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.6485, allocations: 1.697 MB / 1.528 GB, free: 4.926 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009034/0.6494, allocations: 292 kB / 1.528 GB, free: 4.641 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00578/0.6552, allocations: 3.117 MB / 1.531 GB, free: 1.52 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.004924/0.6601, allocations: 4.862 MB / 1.536 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00817/0.6683, allocations: 4.864 MB / 1.541 GB, free: 7.762 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.02313/0.6914, allocations: 18.02 MB / 1.558 GB, free: 5.691 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6914, allocations: 4 kB / 1.558 GB, free: 5.688 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6914, allocations: 0 / 1.558 GB, free: 5.688 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0004076/0.6918, allocations: 0 / 1.558 GB, free: 5.688 MB / 1.248 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.047/0.7388, allocations: 14.37 MB / 1.572 GB, free: 7.203 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.7389, allocations: 12.03 kB / 1.572 GB, free: 7.191 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.659e-05/0.739, allocations: 47.3 kB / 1.572 GB, free: 7.145 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005103/0.7395, allocations: 236.9 kB / 1.572 GB, free: 6.902 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007702/0.7472, allocations: 1.038 MB / 1.573 GB, free: 5.859 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.225/2.973, allocations: 0.9949 GB / 2.568 GB, free: 294.8 MB / 1.654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/2.973, allocations: 176.6 kB / 2.569 GB, free: 294.7 MB / 1.654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/2.973, allocations: 240 kB / 2.569 GB, free: 294.4 MB / 1.654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/2.976, allocations: 2.373 MB / 2.571 GB, free: 292 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/2.976, allocations: 0 / 2.571 GB, free: 292 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/2.977, allocations: 71.98 kB / 2.571 GB, free: 291.9 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/2.977, allocations: 40 kB / 2.571 GB, free: 291.9 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/2.98, allocations: 2.467 MB / 2.574 GB, free: 289.4 MB / 1.654 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1224/3.102, allocations: 243.1 MB / 2.811 GB, free: 46.01 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002781/3.105, allocations: 1.669 MB / 2.813 GB, free: 44.35 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/3.106, allocations: 0.9873 MB / 2.814 GB, free: 43.36 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/3.106, allocations: 33.11 kB / 2.814 GB, free: 43.33 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/3.108, allocations: 1.366 MB / 2.815 GB, free: 41.94 MB / 1.654 GB Notification: Performance of pre-optimization done (n=138): time 3.537e-06/3.108, allocations: 1.969 kB / 2.815 GB, free: 41.94 MB / 1.654 GB Notification: Performance of matching and sorting (n=138): time 0.01106/3.119, allocations: 4.289 MB / 2.819 GB, free: 37.64 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/3.119, allocations: 366.5 kB / 2.819 GB, free: 37.23 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.684/5.803, allocations: 1.182 GB / 4.002 GB, free: 141.7 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006633/5.803, allocations: 85.7 kB / 4.002 GB, free: 141.6 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.005242/5.808, allocations: 3.762 MB / 4.006 GB, free: 138.1 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/5.809, allocations: 480.7 kB / 4.006 GB, free: 137.9 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008407/5.81, allocations: 0.6768 MB / 4.007 GB, free: 137.3 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/5.81, allocations: 301.1 kB / 4.007 GB, free: 137 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/5.812, allocations: 1.923 MB / 4.009 GB, free: 135 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/5.814, allocations: 2.878 MB / 4.012 GB, free: 131.8 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/5.819, allocations: 4.611 MB / 4.016 GB, free: 126.9 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/5.819, allocations: 8 kB / 4.016 GB, free: 126.8 MB / 1.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01273/5.832, allocations: 6.031 MB / 4.022 GB, free: 121.1 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/5.832, allocations: 206.2 kB / 4.022 GB, free: 120.9 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/5.832, allocations: 28 kB / 4.022 GB, free: 120.9 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/5.832, allocations: 128.8 kB / 4.022 GB, free: 120.7 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/5.835, allocations: 0.6083 MB / 4.023 GB, free: 120.1 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/5.837, allocations: 1.582 MB / 4.025 GB, free: 118.4 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008136/5.845, allocations: 1.195 MB / 4.026 GB, free: 117.4 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/5.845, allocations: 148.7 kB / 4.026 GB, free: 117.2 MB / 1.67 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.005663/5.851, allocations: 3.843 MB / 4.03 GB, free: 113.4 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005071/5.856, allocations: 0.7953 MB / 4.03 GB, free: 112.6 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006988/5.863, allocations: 4.367 MB / 4.035 GB, free: 108.2 MB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/5.863, allocations: 20.83 kB / 4.035 GB, free: 108.2 MB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/5.863, allocations: 0 / 4.035 GB, free: 108.2 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/5.863, allocations: 3.984 kB / 4.035 GB, free: 108.2 MB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/5.876, allocations: 6.767 MB / 4.041 GB, free: 101.4 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/5.876, allocations: 4 kB / 4.041 GB, free: 101.4 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/5.878, allocations: 207.6 kB / 4.042 GB, free: 101.2 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006935/5.878, allocations: 72.78 kB / 4.042 GB, free: 101.2 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/5.879, allocations: 47.97 kB / 4.042 GB, free: 101.1 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/5.881, allocations: 1.547 MB / 4.043 GB, free: 99.45 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/5.881, allocations: 0 / 4.043 GB, free: 99.45 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/5.893, allocations: 3.927 MB / 4.047 GB, free: 95.48 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006979/5.9, allocations: 3.1 MB / 4.05 GB, free: 92.4 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003884/5.903, allocations: 43.94 kB / 4.05 GB, free: 92.36 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006448/5.91, allocations: 0.7538 MB / 4.051 GB, free: 91.6 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/5.91, allocations: 101.1 kB / 4.051 GB, free: 91.5 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/5.91, allocations: 71.95 kB / 4.051 GB, free: 91.43 MB / 1.67 GB Notification: Performance of sorting global known variables: time 2.182/8.093, allocations: 0.9475 GB / 4.998 GB, free: 413.3 MB / 1.67 GB Notification: Performance of sort global known variables: time 2.8e-07/8.093, allocations: 0 / 4.998 GB, free: 413.3 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.008557/8.101, allocations: 1.896 MB / 5 GB, free: 411.6 MB / 1.67 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.01471/8.116, allocations: 5.442 MB / 5.006 GB, free: 407.1 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.005917/8.122, allocations: 4.375 MB / 5.01 GB, free: 402.7 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/8.122, allocations: 3.5 kB / 5.01 GB, free: 402.7 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/8.124, allocations: 1.871 MB / 5.012 GB, free: 400.8 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/8.136, allocations: 0.849 MB / 5.013 GB, free: 400 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.463/16.6, allocations: 4.771 GB / 9.784 GB, free: 127.3 MB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007236/16.61, allocations: 4.655 MB / 9.788 GB, free: 122.6 MB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.008281/16.61, allocations: 3.011 MB / 9.791 GB, free: 119.7 MB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009586/16.62, allocations: 4.041 MB / 9.795 GB, free: 115.7 MB / 1.686 GB Notification: Performance of SimCode: time 2.004e-06/16.62, allocations: 0 / 9.795 GB, free: 115.7 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.574/18.2, allocations: 0.7673 GB / 10.56 GB, free: 66.04 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.45/59.64, allocations: 8.047 kB / 10.56 GB, free: 66.03 MB / 1.717 GB " [Timeout remaining time 240] (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 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 67.4167838569847] Failed to read output from testmodel.py, exit status != 0: 60.0406587109901 60.052259582 59.357949054 Calling exit ...