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.001345/0.001345, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001363/0.001363, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.851/2.851, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 GB " [Timeout remaining time 176] 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.001978/0.001978, allocations: 67.91 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8886, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009528/0.8981, allocations: 8.622 MB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2097/1.108, allocations: 162.8 MB / 1.508 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/1.11, allocations: 55.56 kB / 1.508 GB, free: 12.69 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005168/1.115, allocations: 2.027 MB / 1.51 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/1.119, allocations: 1.285 MB / 1.511 GB, free: 9.367 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.122, allocations: 1.467 MB / 1.512 GB, free: 7.906 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006291/1.129, allocations: 5.411 MB / 1.518 GB, free: 2.484 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.13, allocations: 0.8528 MB / 1.518 GB, free: 1.578 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/1.133, allocations: 1.773 MB / 1.52 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/1.136, allocations: 1.674 MB / 1.522 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/1.136, allocations: 296 kB / 1.522 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/1.142, allocations: 2.7 MB / 1.525 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.004505/1.146, allocations: 4.854 MB / 1.529 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.006797/1.153, allocations: 4.876 MB / 1.534 GB, free: 1.367 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02941/1.182, allocations: 17.95 MB / 1.552 GB, free: 15.37 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/1.182, allocations: 3.984 kB / 1.552 GB, free: 15.36 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.055e-06/1.182, allocations: 4 kB / 1.552 GB, free: 15.36 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0005123/1.183, allocations: 0 / 1.552 GB, free: 15.36 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.04246/1.225, allocations: 14.44 MB / 1.566 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.225, allocations: 8.031 kB / 1.566 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.362e-05/1.225, allocations: 47.3 kB / 1.566 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008065/1.226, allocations: 240.9 kB / 1.566 GB, free: 496 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/1.235, allocations: 1.038 MB / 1.567 GB, free: 15.44 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.078/3.313, allocations: 0.9948 GB / 2.562 GB, free: 0.5435 GB / 1.654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/3.313, allocations: 170.7 kB / 2.562 GB, free: 0.5434 GB / 1.654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/3.314, allocations: 239.6 kB / 2.562 GB, free: 0.5433 GB / 1.654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/3.317, allocations: 2.38 MB / 2.565 GB, free: 0.5423 GB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/3.317, allocations: 0.7188 kB / 2.565 GB, free: 0.5423 GB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/3.318, allocations: 69.88 kB / 2.565 GB, free: 0.5423 GB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/3.318, allocations: 37.72 kB / 2.565 GB, free: 0.5423 GB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/3.321, allocations: 2.462 MB / 2.567 GB, free: 0.5412 GB / 1.654 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1217/3.443, allocations: 243.2 MB / 2.805 GB, free: 329.5 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/3.446, allocations: 1.666 MB / 2.806 GB, free: 327.8 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/3.447, allocations: 0.9805 MB / 2.807 GB, free: 326.8 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/3.447, allocations: 40.94 kB / 2.807 GB, free: 326.8 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/3.449, allocations: 1.358 MB / 2.809 GB, free: 325.4 MB / 1.654 GB Notification: Performance of pre-optimization done (n=138): time 3.778e-06/3.449, allocations: 0 / 2.809 GB, free: 325.4 MB / 1.654 GB Notification: Performance of matching and sorting (n=138): time 0.01055/3.46, allocations: 4.36 MB / 2.813 GB, free: 321 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/3.46, allocations: 366.5 kB / 2.813 GB, free: 320.6 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.581/6.04, allocations: 1.182 GB / 3.996 GB, free: 428.3 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005274/6.041, allocations: 85.7 kB / 3.996 GB, free: 428.2 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.004885/6.046, allocations: 3.772 MB / 3.999 GB, free: 424.7 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/6.046, allocations: 476.5 kB / 4 GB, free: 424.6 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/6.048, allocations: 0.6718 MB / 4.001 GB, free: 423.9 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 3.587e-05/6.048, allocations: 305.1 kB / 4.001 GB, free: 423.6 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/6.05, allocations: 1.923 MB / 4.003 GB, free: 421.7 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/6.052, allocations: 2.883 MB / 4.005 GB, free: 418.4 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/6.057, allocations: 4.606 MB / 4.01 GB, free: 413.5 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/6.057, allocations: 13.38 kB / 4.01 GB, free: 413.5 MB / 1.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01141/6.068, allocations: 6.031 MB / 4.016 GB, free: 407.6 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/6.068, allocations: 206.7 kB / 4.016 GB, free: 407.4 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/6.068, allocations: 28 kB / 4.016 GB, free: 407.3 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/6.069, allocations: 128.8 kB / 4.016 GB, free: 407.2 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/6.071, allocations: 0.6044 MB / 4.017 GB, free: 406.6 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/6.073, allocations: 1.69 MB / 4.018 GB, free: 404.8 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006552/6.079, allocations: 1.189 MB / 4.02 GB, free: 403.6 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/6.08, allocations: 144 kB / 4.02 GB, free: 403.5 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.004746/6.085, allocations: 3.85 MB / 4.024 GB, free: 399.6 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004316/6.089, allocations: 0.7953 MB / 4.024 GB, free: 398.8 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007658/6.097, allocations: 4.368 MB / 4.029 GB, free: 394.4 MB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/6.097, allocations: 15.02 kB / 4.029 GB, free: 394.4 MB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/6.097, allocations: 0 / 4.029 GB, free: 394.4 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/6.097, allocations: 3.984 kB / 4.029 GB, free: 394.4 MB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/6.109, allocations: 6.802 MB / 4.035 GB, free: 387.6 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/6.11, allocations: 3.984 kB / 4.035 GB, free: 387.6 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/6.111, allocations: 203.7 kB / 4.035 GB, free: 387.4 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/6.111, allocations: 76.78 kB / 4.036 GB, free: 387.3 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/6.111, allocations: 47.91 kB / 4.036 GB, free: 387.2 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/6.113, allocations: 1.653 MB / 4.037 GB, free: 385.5 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/6.113, allocations: 64 / 4.037 GB, free: 385.5 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/6.122, allocations: 3.927 MB / 4.041 GB, free: 381.5 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006716/6.128, allocations: 3.184 MB / 4.044 GB, free: 378.3 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004032/6.132, allocations: 39.92 kB / 4.044 GB, free: 378.3 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006289/6.139, allocations: 0.7553 MB / 4.045 GB, free: 377.5 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/6.139, allocations: 97.19 kB / 4.045 GB, free: 377.4 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/6.139, allocations: 71.89 kB / 4.045 GB, free: 377.3 MB / 1.67 GB Notification: Performance of sorting global known variables: time 1.293/7.432, allocations: 0.9475 GB / 4.993 GB, free: 93.96 MB / 1.686 GB Notification: Performance of sort global known variables: time 2.91e-07/7.432, allocations: 0 / 4.993 GB, free: 93.96 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.007651/7.44, allocations: 1.897 MB / 4.994 GB, free: 92.24 MB / 1.686 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.01242/7.452, allocations: 5.427 MB / 5 GB, free: 87.61 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.005137/7.458, allocations: 4.375 MB / 5.004 GB, free: 83.24 MB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/7.458, allocations: 7.281 kB / 5.004 GB, free: 83.23 MB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/7.46, allocations: 1.873 MB / 5.006 GB, free: 81.34 MB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/7.473, allocations: 0.8512 MB / 5.007 GB, free: 80.5 MB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.572/16.05, allocations: 4.771 GB / 9.778 GB, free: 491.8 MB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00859/16.05, allocations: 4.659 MB / 9.782 GB, free: 488.2 MB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.008002/16.06, allocations: 3.01 MB / 9.785 GB, free: 485.6 MB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008461/16.07, allocations: 4.042 MB / 9.789 GB, free: 482 MB / 1.686 GB Notification: Performance of SimCode: time 1.122e-06/16.07, allocations: 0 / 9.789 GB, free: 482 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/17.63, allocations: 0.7663 GB / 10.56 GB, free: 444.3 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.17/54.8, allocations: 0.8906 kB / 10.56 GB, free: 444.3 MB / 1.717 GB " [Timeout remaining time 245] (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: 62.04458338196855] Failed to read output from testmodel.py, exit status != 0: 55.17713457602076 55.186047052 54.001390257 Calling exit ...