Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001588/0.001588, allocations: 115.6 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.001891/0.001891, allocations: 214.1 kB / 20.13 MB, free: 3.039 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.555/1.555, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_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.002126/0.002126, allocations: 81.58 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01244/1.03, allocations: 8.617 MB / 1.287 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2498/1.28, allocations: 162.8 MB / 1.446 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/1.283, allocations: 51.62 kB / 1.446 GB, free: 468 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006921/1.29, allocations: 2.015 MB / 1.448 GB, free: 14.43 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/1.295, allocations: 1.284 MB / 1.45 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/1.3, allocations: 1.46 MB / 1.451 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008007/1.308, allocations: 5.426 MB / 1.456 GB, free: 6.254 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/1.31, allocations: 0.8605 MB / 1.457 GB, free: 5.344 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/1.314, allocations: 1.773 MB / 1.459 GB, free: 3.566 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/1.317, allocations: 1.672 MB / 1.461 GB, free: 1.891 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009262/1.318, allocations: 292 kB / 1.461 GB, free: 1.605 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006218/1.324, allocations: 2.703 MB / 1.463 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.006103/1.33, allocations: 4.862 MB / 1.468 GB, free: 10.03 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.009901/1.34, allocations: 4.868 MB / 1.473 GB, free: 5.137 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02752/1.368, allocations: 17.95 MB / 1.491 GB, free: 3.133 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/1.368, allocations: 4 kB / 1.491 GB, free: 3.129 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.087e-06/1.368, allocations: 0 / 1.491 GB, free: 3.129 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005844/1.368, allocations: 0 / 1.491 GB, free: 3.129 MB / 1.17 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.05272/1.421, allocations: 14.45 MB / 1.505 GB, free: 4.551 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/1.421, allocations: 12.03 kB / 1.505 GB, free: 4.539 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.171e-05/1.421, allocations: 43.3 kB / 1.505 GB, free: 4.496 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005213/1.422, allocations: 248.9 kB / 1.505 GB, free: 4.242 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008573/1.43, allocations: 1.034 MB / 1.506 GB, free: 3.203 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.235/3.666, allocations: 0.9948 GB / 2.501 GB, free: 0.5033 GB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/3.666, allocations: 175.1 kB / 2.501 GB, free: 0.5031 GB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/3.666, allocations: 232 kB / 2.501 GB, free: 0.5029 GB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/3.67, allocations: 2.373 MB / 2.503 GB, free: 0.5005 GB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/3.67, allocations: 0 / 2.503 GB, free: 0.5005 GB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/3.67, allocations: 79.98 kB / 2.504 GB, free: 0.5005 GB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/3.67, allocations: 36 kB / 2.504 GB, free: 0.5004 GB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/3.673, allocations: 2.463 MB / 2.506 GB, free: 0.498 GB / 1.576 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/3.796, allocations: 243.1 MB / 2.743 GB, free: 266.6 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/3.799, allocations: 1.664 MB / 2.745 GB, free: 264.9 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/3.801, allocations: 0.981 MB / 2.746 GB, free: 264 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/3.801, allocations: 49.02 kB / 2.746 GB, free: 263.9 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/3.802, allocations: 1.354 MB / 2.747 GB, free: 262.5 MB / 1.576 GB Notification: Performance of pre-optimization done (n=138): time 3.116e-06/3.802, allocations: 0 / 2.747 GB, free: 262.5 MB / 1.576 GB Notification: Performance of matching and sorting (n=138): time 0.01004/3.812, allocations: 4.36 MB / 2.752 GB, free: 258.1 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/3.813, allocations: 367.1 kB / 2.752 GB, free: 257.7 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.65/6.463, allocations: 1.182 GB / 3.934 GB, free: 300.1 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.000617/6.464, allocations: 85.7 kB / 3.934 GB, free: 300 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.005633/6.469, allocations: 3.774 MB / 3.938 GB, free: 296.5 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/6.47, allocations: 473.4 kB / 3.939 GB, free: 296.3 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/6.471, allocations: 0.6733 MB / 3.939 GB, free: 295.7 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/6.471, allocations: 305.8 kB / 3.939 GB, free: 295.4 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/6.474, allocations: 1.928 MB / 3.941 GB, free: 293.4 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/6.477, allocations: 2.883 MB / 3.944 GB, free: 290.2 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/6.481, allocations: 4.62 MB / 3.949 GB, free: 285.2 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-05/6.481, allocations: 8 kB / 3.949 GB, free: 285.2 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01359/6.495, allocations: 6.031 MB / 3.955 GB, free: 279.4 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/6.495, allocations: 205.6 kB / 3.955 GB, free: 279.2 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/6.495, allocations: 28 kB / 3.955 GB, free: 279.2 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/6.496, allocations: 124.8 kB / 3.955 GB, free: 279.1 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/6.498, allocations: 0.6083 MB / 3.956 GB, free: 278.5 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/6.5, allocations: 1.689 MB / 3.957 GB, free: 276.6 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007087/6.507, allocations: 1.181 MB / 3.958 GB, free: 275.6 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/6.508, allocations: 144 kB / 3.958 GB, free: 275.5 MB / 1.592 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.006885/6.515, allocations: 3.852 MB / 3.962 GB, free: 271.6 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005255/6.52, allocations: 0.7992 MB / 3.963 GB, free: 270.8 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007605/6.528, allocations: 4.371 MB / 3.967 GB, free: 266.4 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/6.528, allocations: 12 kB / 3.967 GB, free: 266.4 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/6.528, allocations: 0 / 3.967 GB, free: 266.4 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/6.528, allocations: 3.984 kB / 3.967 GB, free: 266.4 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/6.541, allocations: 6.795 MB / 3.974 GB, free: 259.6 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/6.541, allocations: 4 kB / 3.974 GB, free: 259.6 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/6.542, allocations: 207.6 kB / 3.974 GB, free: 259.4 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/6.542, allocations: 76.78 kB / 3.974 GB, free: 259.3 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/6.543, allocations: 39.97 kB / 3.974 GB, free: 259.3 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/6.544, allocations: 1.648 MB / 3.976 GB, free: 257.5 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/6.544, allocations: 0 / 3.976 GB, free: 257.5 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008733/6.553, allocations: 3.927 MB / 3.98 GB, free: 253.5 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006696/6.56, allocations: 3.178 MB / 3.983 GB, free: 250.3 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004691/6.564, allocations: 43.88 kB / 3.983 GB, free: 250.3 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00742/6.572, allocations: 0.7522 MB / 3.984 GB, free: 249.5 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/6.572, allocations: 101.2 kB / 3.984 GB, free: 249.4 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/6.572, allocations: 76.02 kB / 3.984 GB, free: 249.4 MB / 1.592 GB Notification: Performance of sorting global known variables: time 1.934/8.506, allocations: 0.9475 GB / 4.931 GB, free: 0.5415 GB / 1.607 GB Notification: Performance of sort global known variables: time 2.5e-07/8.506, allocations: 0 / 4.931 GB, free: 0.5415 GB / 1.607 GB Notification: Performance of remove unused functions: time 0.007917/8.514, allocations: 1.899 MB / 4.933 GB, free: 0.5398 GB / 1.607 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.01262/8.527, allocations: 5.438 MB / 4.938 GB, free: 0.5357 GB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.005674/8.532, allocations: 4.377 MB / 4.943 GB, free: 0.5319 GB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/8.532, allocations: 3.938 kB / 4.943 GB, free: 0.5319 GB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/8.535, allocations: 1.875 MB / 4.944 GB, free: 0.5303 GB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00827/8.543, allocations: 0.8491 MB / 4.945 GB, free: 0.5295 GB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.4/16.94, allocations: 4.771 GB / 9.716 GB, free: 57.83 MB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006967/16.95, allocations: 4.663 MB / 9.721 GB, free: 53.17 MB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.009596/16.96, allocations: 3.006 MB / 9.724 GB, free: 50.27 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01057/16.97, allocations: 4.037 MB / 9.728 GB, free: 46.23 MB / 1.607 GB Notification: Performance of SimCode: time 1.763e-06/16.97, allocations: 0 / 9.728 GB, free: 46.23 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.526/19.5, allocations: 0.7663 GB / 10.49 GB, free: 0.5664 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.18/58.68, allocations: 13.69 kB / 10.49 GB, free: 0.5664 GB / 1.623 GB " [Timeout remaining time 241] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 66.23185119696427] Failed to read output from testmodel.py, exit status != 0: 59.04620121396147 59.06107851 57.689814209 Calling exit ...