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.001351/0.001351, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001404/0.001404, allocations: 214.3 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.09 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 2.801/2.801, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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.001928/0.001928, allocations: 71.88 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9557/0.9577, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00781/0.9655, allocations: 8.61 MB / 1.33 GB, free: 18.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2059/1.171, allocations: 162.8 MB / 1.489 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/1.174, allocations: 54.41 kB / 1.489 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005889/1.18, allocations: 2.04 MB / 1.491 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004375/1.184, allocations: 1.273 MB / 1.492 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/1.188, allocations: 1.453 MB / 1.494 GB, free: 6.949 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007111/1.195, allocations: 5.418 MB / 1.499 GB, free: 3.609 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/1.198, allocations: 0.8591 MB / 1.5 GB, free: 2.797 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004384/1.202, allocations: 1.769 MB / 1.501 GB, free: 1.023 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/1.206, allocations: 1.682 MB / 1.503 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/1.208, allocations: 292 kB / 1.503 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/1.215, allocations: 2.692 MB / 1.506 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.005272/1.22, allocations: 4.858 MB / 1.511 GB, free: 7.488 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.007704/1.228, allocations: 4.876 MB / 1.516 GB, free: 2.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.249, allocations: 17.95 MB / 1.533 GB, free: 0.582 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.249, allocations: 0 / 1.533 GB, free: 0.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/1.249, allocations: 0 / 1.533 GB, free: 0.582 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004416/1.25, allocations: 0 / 1.533 GB, free: 0.582 MB / 1.201 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.03707/1.287, allocations: 14.45 MB / 1.547 GB, free: 2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.287, allocations: 15.98 kB / 1.547 GB, free: 1.984 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.078e-05/1.287, allocations: 39.3 kB / 1.547 GB, free: 1.945 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005/1.287, allocations: 244.9 kB / 1.547 GB, free: 1.695 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007/1.294, allocations: 1.042 MB / 1.548 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.066/3.361, allocations: 0.9948 GB / 2.543 GB, free: 0.5215 GB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/3.361, allocations: 171.2 kB / 2.543 GB, free: 0.5214 GB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004927/3.361, allocations: 235.9 kB / 2.544 GB, free: 0.5214 GB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/3.365, allocations: 2.377 MB / 2.546 GB, free: 0.5205 GB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/3.365, allocations: 0 / 2.546 GB, free: 0.5205 GB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/3.365, allocations: 67.45 kB / 2.546 GB, free: 0.5204 GB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/3.365, allocations: 37.53 kB / 2.546 GB, free: 0.5204 GB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/3.369, allocations: 2.472 MB / 2.549 GB, free: 0.5198 GB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/3.495, allocations: 243.2 MB / 2.786 GB, free: 315.4 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/3.498, allocations: 1.679 MB / 2.788 GB, free: 313.8 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/3.499, allocations: 0.9806 MB / 2.789 GB, free: 312.8 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/3.499, allocations: 40.92 kB / 2.789 GB, free: 312.7 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/3.501, allocations: 1.358 MB / 2.79 GB, free: 311.4 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 3.737e-06/3.501, allocations: 0 / 2.79 GB, free: 311.4 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.0105/3.512, allocations: 4.36 MB / 2.794 GB, free: 307 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/3.512, allocations: 362.5 kB / 2.795 GB, free: 306.6 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.593/6.105, allocations: 1.182 GB / 3.977 GB, free: 440.4 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0005957/6.105, allocations: 89.45 kB / 3.977 GB, free: 440.4 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.005565/6.111, allocations: 3.762 MB / 3.981 GB, free: 437.2 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/6.111, allocations: 479.4 kB / 3.981 GB, free: 437 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009624/6.112, allocations: 0.6735 MB / 3.982 GB, free: 436.4 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/6.112, allocations: 305.1 kB / 3.982 GB, free: 436.1 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/6.114, allocations: 1.925 MB / 3.984 GB, free: 434.2 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/6.117, allocations: 2.884 MB / 3.987 GB, free: 431 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/6.121, allocations: 4.616 MB / 3.991 GB, free: 426 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/6.122, allocations: 8 kB / 3.991 GB, free: 426 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01138/6.133, allocations: 6.027 MB / 3.997 GB, free: 420.2 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/6.133, allocations: 205.6 kB / 3.997 GB, free: 419.9 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/6.133, allocations: 28 kB / 3.997 GB, free: 419.9 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/6.134, allocations: 120.9 kB / 3.998 GB, free: 419.8 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/6.136, allocations: 0.6122 MB / 3.998 GB, free: 419.2 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/6.138, allocations: 1.686 MB / 4 GB, free: 417.4 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006729/6.144, allocations: 1.194 MB / 4.001 GB, free: 416.2 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005188/6.145, allocations: 144 kB / 4.001 GB, free: 416.1 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.0046/6.149, allocations: 3.847 MB / 4.005 GB, free: 412.2 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004407/6.154, allocations: 0.7953 MB / 4.006 GB, free: 411.4 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/6.16, allocations: 4.375 MB / 4.01 GB, free: 407 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/6.16, allocations: 12 kB / 4.01 GB, free: 407 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/6.16, allocations: 0 / 4.01 GB, free: 407 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/6.16, allocations: 7.969 kB / 4.01 GB, free: 407 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/6.172, allocations: 6.793 MB / 4.017 GB, free: 400.2 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/6.172, allocations: 0 / 4.017 GB, free: 400.2 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/6.173, allocations: 211.6 kB / 4.017 GB, free: 400 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/6.173, allocations: 76.78 kB / 4.017 GB, free: 399.9 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/6.173, allocations: 39.97 kB / 4.017 GB, free: 399.8 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/6.175, allocations: 1.654 MB / 4.018 GB, free: 398 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/6.175, allocations: 0 / 4.018 GB, free: 398 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008538/6.183, allocations: 3.93 MB / 4.022 GB, free: 394.1 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006852/6.19, allocations: 3.176 MB / 4.025 GB, free: 390.9 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003937/6.194, allocations: 43.95 kB / 4.025 GB, free: 390.8 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006002/6.2, allocations: 0.7538 MB / 4.026 GB, free: 390.1 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/6.2, allocations: 101.2 kB / 4.026 GB, free: 390 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/6.201, allocations: 71.48 kB / 4.026 GB, free: 389.9 MB / 1.654 GB Notification: Performance of sorting global known variables: time 1.278/7.478, allocations: 0.9475 GB / 4.974 GB, free: 75.14 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.1e-07/7.478, allocations: 0 / 4.974 GB, free: 75.14 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.007166/7.486, allocations: 1.897 MB / 4.976 GB, free: 73.42 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.01099/7.497, allocations: 5.435 MB / 4.981 GB, free: 68.79 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.004853/7.501, allocations: 4.374 MB / 4.985 GB, free: 64.42 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/7.501, allocations: 4 kB / 4.985 GB, free: 64.42 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/7.503, allocations: 1.874 MB / 4.987 GB, free: 62.52 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008483/7.512, allocations: 0.8445 MB / 4.988 GB, free: 61.7 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.312/15.82, allocations: 4.771 GB / 9.759 GB, free: 362.1 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/15.83, allocations: 4.659 MB / 9.764 GB, free: 358.5 MB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.007658/15.84, allocations: 3.012 MB / 9.767 GB, free: 355.9 MB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009394/15.85, allocations: 4.035 MB / 9.771 GB, free: 352.3 MB / 1.654 GB Notification: Performance of SimCode: time 1.794e-06/15.85, allocations: 0 / 9.771 GB, free: 352.3 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.521/17.37, allocations: 0.7663 GB / 10.54 GB, free: 296.8 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.87/53.24, allocations: 11.67 kB / 10.54 GB, free: 296.8 MB / 1.686 GB " [Timeout remaining time 246] (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: 60.37658883194672] Failed to read output from testmodel.py, exit status != 0: 53.610043274005875 53.619096572 52.367471809 Calling exit ...