Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001275/0.001275, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001443/0.001443, allocations: 220 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_12_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.002294/0.002294, allocations: 66.72 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3691, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01187/0.3809, allocations: 8.649 MB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2051/0.586, allocations: 163 MB / 1.494 GB, free: 5.676 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.5882, allocations: 47.62 kB / 1.494 GB, free: 5.629 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006653/0.5949, allocations: 2.194 MB / 1.496 GB, free: 3.426 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00449/0.5994, allocations: 1.298 MB / 1.498 GB, free: 2.125 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004546/0.6039, allocations: 1.545 MB / 1.499 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008694/0.6126, allocations: 5.777 MB / 1.505 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.6147, allocations: 0.8182 MB / 1.506 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.6184, allocations: 1.749 MB / 1.507 GB, free: 8.176 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.6216, allocations: 1.697 MB / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0009313/0.6226, allocations: 292 kB / 1.509 GB, free: 6.188 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/0.6287, allocations: 3.121 MB / 1.512 GB, free: 3.062 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.005498/0.6342, allocations: 4.858 MB / 1.517 GB, free: 14.2 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.007833/0.642, allocations: 4.876 MB / 1.522 GB, free: 9.297 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02264/0.6647, allocations: 18 MB / 1.539 GB, free: 7.242 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6647, allocations: 0 / 1.539 GB, free: 7.242 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6647, allocations: 0 / 1.539 GB, free: 7.242 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0004192/0.6651, allocations: 4 kB / 1.539 GB, free: 7.238 MB / 1.232 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.04336/0.7085, allocations: 14.38 MB / 1.554 GB, free: 8.75 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.7085, allocations: 12.02 kB / 1.554 GB, free: 8.738 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.726e-05/0.7086, allocations: 43.3 kB / 1.554 GB, free: 8.695 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006193/0.7092, allocations: 240.9 kB / 1.554 GB, free: 8.449 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007394/0.7166, allocations: 1.03 MB / 1.555 GB, free: 7.414 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.178/2.894, allocations: 0.9949 GB / 2.55 GB, free: 277.6 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/2.894, allocations: 175.1 kB / 2.55 GB, free: 277.5 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/2.895, allocations: 239.1 kB / 2.55 GB, free: 277.2 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/2.898, allocations: 2.377 MB / 2.552 GB, free: 274.8 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/2.898, allocations: 2.906 kB / 2.552 GB, free: 274.8 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/2.898, allocations: 68 kB / 2.552 GB, free: 274.7 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/2.898, allocations: 40 kB / 2.553 GB, free: 274.7 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/2.901, allocations: 2.463 MB / 2.555 GB, free: 272.2 MB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1179/3.019, allocations: 243.1 MB / 2.792 GB, free: 28.8 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/3.022, allocations: 1.658 MB / 2.794 GB, free: 27.15 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/3.023, allocations: 0.9923 MB / 2.795 GB, free: 26.15 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-05/3.023, allocations: 37.08 kB / 2.795 GB, free: 26.11 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/3.024, allocations: 1.361 MB / 2.796 GB, free: 24.74 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 2.906e-06/3.024, allocations: 0 / 2.796 GB, free: 24.74 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.01131/3.036, allocations: 4.293 MB / 2.8 GB, free: 20.43 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/3.036, allocations: 358.5 kB / 2.801 GB, free: 20.03 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.726/5.762, allocations: 1.182 GB / 3.983 GB, free: 138.4 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0006096/5.762, allocations: 85.7 kB / 3.983 GB, free: 138.3 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.005482/5.768, allocations: 3.768 MB / 3.987 GB, free: 134.8 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007418/5.769, allocations: 479 kB / 3.987 GB, free: 134.7 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/5.77, allocations: 0.6714 MB / 3.988 GB, free: 134 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/5.77, allocations: 305.1 kB / 3.988 GB, free: 133.7 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/5.772, allocations: 1.925 MB / 3.99 GB, free: 131.8 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/5.775, allocations: 2.876 MB / 3.993 GB, free: 128.5 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/5.779, allocations: 4.615 MB / 3.998 GB, free: 123.6 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/5.779, allocations: 11.94 kB / 3.998 GB, free: 123.6 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0136/5.793, allocations: 6.033 MB / 4.003 GB, free: 117.7 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/5.793, allocations: 201.6 kB / 4.004 GB, free: 117.5 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.497e-05/5.793, allocations: 30.91 kB / 4.004 GB, free: 117.5 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/5.794, allocations: 124.6 kB / 4.004 GB, free: 117.4 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/5.796, allocations: 0.6161 MB / 4.004 GB, free: 116.8 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/5.798, allocations: 1.584 MB / 4.006 GB, free: 115.1 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00968/5.808, allocations: 1.185 MB / 4.007 GB, free: 114 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008931/5.809, allocations: 144 kB / 4.007 GB, free: 113.9 MB / 1.654 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.007135/5.816, allocations: 3.85 MB / 4.011 GB, free: 110 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006605/5.822, allocations: 0.7953 MB / 4.012 GB, free: 109.2 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/5.83, allocations: 4.368 MB / 4.016 GB, free: 104.9 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/5.83, allocations: 16 kB / 4.016 GB, free: 104.9 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/5.83, allocations: 0 / 4.016 GB, free: 104.9 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/5.83, allocations: 7.969 kB / 4.016 GB, free: 104.8 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/5.844, allocations: 6.758 MB / 4.023 GB, free: 98.07 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/5.844, allocations: 7.062 kB / 4.023 GB, free: 98.07 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/5.845, allocations: 207.7 kB / 4.023 GB, free: 97.87 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/5.846, allocations: 76.72 kB / 4.023 GB, free: 97.79 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/5.846, allocations: 39.98 kB / 4.023 GB, free: 97.75 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/5.847, allocations: 1.564 MB / 4.025 GB, free: 96.07 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/5.847, allocations: 0 / 4.025 GB, free: 96.07 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/5.858, allocations: 3.923 MB / 4.028 GB, free: 92.12 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01131/5.869, allocations: 3.099 MB / 4.031 GB, free: 89.03 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004667/5.874, allocations: 37.91 kB / 4.031 GB, free: 89 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00719/5.881, allocations: 0.7538 MB / 4.032 GB, free: 88.24 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004768/5.882, allocations: 105.1 kB / 4.032 GB, free: 88.14 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/5.882, allocations: 63.97 kB / 4.032 GB, free: 88.07 MB / 1.654 GB Notification: Performance of sorting global known variables: time 2.02/7.902, allocations: 0.9475 GB / 4.98 GB, free: 408 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.7e-07/7.902, allocations: 0 / 4.98 GB, free: 408 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.009016/7.911, allocations: 1.902 MB / 4.982 GB, free: 406.3 MB / 1.654 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.01379/7.925, allocations: 5.439 MB / 4.987 GB, free: 401.7 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.005853/7.93, allocations: 4.374 MB / 4.991 GB, free: 397.4 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/7.93, allocations: 0 / 4.991 GB, free: 397.4 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/7.933, allocations: 1.875 MB / 4.993 GB, free: 395.5 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/7.944, allocations: 0.8453 MB / 4.994 GB, free: 394.6 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.369/16.31, allocations: 4.771 GB / 9.765 GB, free: 13.11 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/16.33, allocations: 4.663 MB / 9.77 GB, free: 8.445 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.009783/16.34, allocations: 3.018 MB / 9.773 GB, free: 5.535 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01148/16.35, allocations: 4.033 MB / 9.777 GB, free: 1.5 MB / 1.67 GB Notification: Performance of SimCode: time 1.764e-06/16.35, allocations: 0 / 9.777 GB, free: 1.5 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.309/18.66, allocations: 0.7673 GB / 10.54 GB, free: 0.584 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.21/58.87, allocations: 17.47 kB / 10.54 GB, free: 0.584 GB / 1.686 GB " [Timeout remaining time 241] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 66.6779509820044] Failed to read output from testmodel.py, exit status != 0: 59.25181507098023 59.261927139 58.594549241 Calling exit ...