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.001265/0.001265, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001361/0.001361, allocations: 216.8 kB / 23.03 MB, free: 4.922 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.085/3.085, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.001878/0.001878, allocations: 60.81 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01035/0.3133, allocations: 7.555 MB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1793/0.4926, allocations: 140.6 MB / 1.49 GB, free: 11.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.4945, allocations: 51.62 kB / 1.49 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005738/0.5003, allocations: 2.14 MB / 1.492 GB, free: 9.027 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.5042, allocations: 1.297 MB / 1.493 GB, free: 7.73 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.508, allocations: 1.52 MB / 1.495 GB, free: 6.215 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006767/0.5148, allocations: 5.78 MB / 1.501 GB, free: 436 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.5167, allocations: 0.8105 MB / 1.501 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.5197, allocations: 1.761 MB / 1.503 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.5225, allocations: 1.693 MB / 1.505 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008729/0.5234, allocations: 292 kB / 1.505 GB, free: 11.82 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.5288, allocations: 3.035 MB / 1.508 GB, free: 8.777 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.5335, allocations: 4.858 MB / 1.513 GB, free: 3.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.006674/0.5401, allocations: 3.928 MB / 1.516 GB, free: 15.96 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.5616, allocations: 18.08 MB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5617, allocations: 0 / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5617, allocations: 0 / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000415/0.5621, allocations: 0 / 1.534 GB, free: 13.83 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.03772/0.5998, allocations: 14.67 MB / 1.548 GB, free: 15.05 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5998, allocations: 8.031 kB / 1.548 GB, free: 15.04 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.539e-05/0.5999, allocations: 47.3 kB / 1.549 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006224/0.6005, allocations: 236.9 kB / 1.549 GB, free: 14.75 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/0.6076, allocations: 1.042 MB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.195/2.802, allocations: 0.995 GB / 2.545 GB, free: 320 MB / 1.654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/2.803, allocations: 171.1 kB / 2.545 GB, free: 319.8 MB / 1.654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006024/2.803, allocations: 236 kB / 2.545 GB, free: 319.6 MB / 1.654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/2.807, allocations: 2.774 MB / 2.548 GB, free: 316.7 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/2.807, allocations: 0 / 2.548 GB, free: 316.7 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/2.807, allocations: 72.48 kB / 2.548 GB, free: 316.6 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/2.807, allocations: 40 kB / 2.548 GB, free: 316.5 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/2.81, allocations: 2.384 MB / 2.55 GB, free: 314.1 MB / 1.654 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.117/2.927, allocations: 240.8 MB / 2.785 GB, free: 73.18 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/2.93, allocations: 1.589 MB / 2.787 GB, free: 71.59 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/2.931, allocations: 0.9119 MB / 2.788 GB, free: 70.67 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/2.931, allocations: 32.97 kB / 2.788 GB, free: 70.64 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/2.933, allocations: 1.592 MB / 2.789 GB, free: 68.94 MB / 1.654 GB Notification: Performance of pre-optimization done (n=138): time 3.376e-06/2.933, allocations: 0 / 2.789 GB, free: 68.94 MB / 1.654 GB Notification: Performance of matching and sorting (n=138): time 0.009453/2.942, allocations: 3.909 MB / 2.793 GB, free: 65 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/2.942, allocations: 334.6 kB / 2.794 GB, free: 64.63 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.716/5.658, allocations: 1.182 GB / 3.976 GB, free: 170.7 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005455/5.658, allocations: 85.7 kB / 3.976 GB, free: 170.6 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.005403/5.664, allocations: 3.766 MB / 3.98 GB, free: 167.1 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/5.664, allocations: 481.7 kB / 3.98 GB, free: 166.9 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/5.666, allocations: 0.6739 MB / 3.981 GB, free: 166.3 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/5.666, allocations: 305.1 kB / 3.981 GB, free: 166 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/5.668, allocations: 1.849 MB / 3.983 GB, free: 164.1 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/5.671, allocations: 2.93 MB / 3.986 GB, free: 160.7 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/5.675, allocations: 4.135 MB / 3.99 GB, free: 156.3 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-05/5.675, allocations: 8 kB / 3.99 GB, free: 156.3 MB / 1.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01259/5.688, allocations: 5.708 MB / 3.995 GB, free: 150.8 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/5.688, allocations: 185.6 kB / 3.996 GB, free: 150.7 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/5.688, allocations: 28 kB / 3.996 GB, free: 150.6 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/5.689, allocations: 122.6 kB / 3.996 GB, free: 150.5 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/5.691, allocations: 0.6122 MB / 3.996 GB, free: 149.9 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/5.693, allocations: 1.582 MB / 3.998 GB, free: 148.2 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/5.7, allocations: 1.19 MB / 3.999 GB, free: 147.1 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006125/5.701, allocations: 145.7 kB / 3.999 GB, free: 146.9 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.005417/5.706, allocations: 3.823 MB / 4.003 GB, free: 143.1 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004712/5.711, allocations: 0.7953 MB / 4.004 GB, free: 142.3 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/5.717, allocations: 3.884 MB / 4.008 GB, free: 138.4 MB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/5.717, allocations: 15.89 kB / 4.008 GB, free: 138.4 MB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/5.717, allocations: 0.5469 kB / 4.008 GB, free: 138.4 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/5.717, allocations: 11.97 kB / 4.008 GB, free: 138.4 MB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/5.728, allocations: 5.04 MB / 4.012 GB, free: 133.3 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/5.728, allocations: 0.7656 kB / 4.012 GB, free: 133.3 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/5.729, allocations: 211.6 kB / 4.013 GB, free: 133.1 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/5.73, allocations: 68.8 kB / 4.013 GB, free: 133 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/5.73, allocations: 43.97 kB / 4.013 GB, free: 133 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/5.732, allocations: 1.55 MB / 4.014 GB, free: 131.3 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/5.732, allocations: 0 / 4.014 GB, free: 131.3 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007353/5.739, allocations: 3.434 MB / 4.018 GB, free: 127.8 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006712/5.746, allocations: 3.421 MB / 4.021 GB, free: 124.4 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003128/5.749, allocations: 39.88 kB / 4.021 GB, free: 124.4 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005308/5.754, allocations: 0.7577 MB / 4.022 GB, free: 123.6 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/5.754, allocations: 108.3 kB / 4.022 GB, free: 123.5 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/5.754, allocations: 67.97 kB / 4.022 GB, free: 123.4 MB / 1.67 GB Notification: Performance of sorting global known variables: time 1.999/7.753, allocations: 0.9475 GB / 4.969 GB, free: 446.8 MB / 1.67 GB Notification: Performance of sort global known variables: time 2.8e-07/7.753, allocations: 0 / 4.969 GB, free: 446.8 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.008288/7.762, allocations: 1.892 MB / 4.971 GB, free: 445.1 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.01232/7.774, allocations: 4.983 MB / 4.976 GB, free: 440.9 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.005184/7.779, allocations: 4.069 MB / 4.98 GB, free: 436.9 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/7.779, allocations: 0 / 4.98 GB, free: 436.9 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/7.781, allocations: 1.61 MB / 4.982 GB, free: 435.2 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/7.791, allocations: 0.8351 MB / 4.982 GB, free: 434.4 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.599/15.39, allocations: 4.77 GB / 9.753 GB, free: 173.2 MB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006096/15.4, allocations: 4.166 MB / 9.757 GB, free: 169 MB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.006961/15.4, allocations: 3.023 MB / 9.76 GB, free: 166.1 MB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008509/15.41, allocations: 4.034 MB / 9.764 GB, free: 162.1 MB / 1.686 GB Notification: Performance of SimCode: time 1.813e-06/15.41, allocations: 0 / 9.764 GB, free: 162.1 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.425/16.84, allocations: 0.7739 GB / 10.54 GB, free: 76.59 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.96/53.8, allocations: 3.859 kB / 10.54 GB, free: 76.59 MB / 1.701 GB " [Timeout remaining time 246] (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: 61.18747109209653] Failed to read output from testmodel.py, exit status != 0: 54.17933420208283 54.194026797 53.629235853 Calling exit ...