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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 112.1 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7629 GB, free: 15.26 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 168.7 MB / 1.272 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01022/1.136, allocations: 8.605 MB / 1.28 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2425/1.379, allocations: 160.1 MB / 1.436 GB, free: 9.863 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/1.381, allocations: 39.44 kB / 1.436 GB, free: 9.852 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006335/1.387, allocations: 2.016 MB / 1.438 GB, free: 8.48 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/1.392, allocations: 1.272 MB / 1.44 GB, free: 7.512 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004615/1.397, allocations: 1.476 MB / 1.441 GB, free: 6.379 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007577/1.404, allocations: 5.354 MB / 1.446 GB, free: 1.844 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.406, allocations: 0.8213 MB / 1.447 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/1.41, allocations: 1.706 MB / 1.449 GB, free: 15.26 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/1.413, allocations: 1.682 MB / 1.45 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/1.415, allocations: 288 kB / 1.451 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00755/1.422, allocations: 2.653 MB / 1.453 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005635/1.428, allocations: 4.858 MB / 1.458 GB, free: 5.77 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0093/1.437, allocations: 4.868 MB / 1.463 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02372/1.461, allocations: 17.91 MB / 1.48 GB, free: 14.92 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.461, allocations: 0 / 1.48 GB, free: 14.92 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.084e-06/1.461, allocations: 0 / 1.48 GB, free: 14.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004663/1.461, allocations: 0 / 1.48 GB, free: 14.92 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.04257/1.504, allocations: 14.44 MB / 1.494 GB, free: 360 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.504, allocations: 11.97 kB / 1.494 GB, free: 348 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005629/1.504, allocations: 244.9 kB / 1.494 GB, free: 92 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/1.511, allocations: 0.9558 MB / 1.495 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.243/3.754, allocations: 0.9948 GB / 2.49 GB, free: 0.5067 GB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/3.754, allocations: 171.6 kB / 2.49 GB, free: 0.5066 GB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/3.755, allocations: 238.6 kB / 2.491 GB, free: 0.5065 GB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/3.76, allocations: 2.377 MB / 2.493 GB, free: 0.5057 GB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/3.76, allocations: 1.094 kB / 2.493 GB, free: 0.5057 GB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/3.761, allocations: 70.48 kB / 2.493 GB, free: 0.5056 GB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/3.761, allocations: 38.84 kB / 2.493 GB, free: 0.5056 GB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/3.765, allocations: 2.467 MB / 2.495 GB, free: 0.505 GB / 1.561 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.1387/3.904, allocations: 243.1 MB / 2.733 GB, free: 296.8 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/3.906, allocations: 1.661 MB / 2.734 GB, free: 295.1 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/3.908, allocations: 0.9845 MB / 2.735 GB, free: 294.1 MB / 1.561 GB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/3.908, allocations: 41.08 kB / 2.735 GB, free: 294.1 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/3.909, allocations: 1.358 MB / 2.737 GB, free: 292.7 MB / 1.561 GB Notification: Performance of pre-optimization done (n=138): time 2.665e-06/3.909, allocations: 0 / 2.737 GB, free: 292.7 MB / 1.561 GB Notification: Performance of matching and sorting (n=138): time 0.0101/3.919, allocations: 4.356 MB / 2.741 GB, free: 288.3 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/3.919, allocations: 370.5 kB / 2.741 GB, free: 287.9 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.602/6.521, allocations: 1.182 GB / 3.924 GB, free: 364.6 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006769/6.522, allocations: 81.7 kB / 3.924 GB, free: 364.5 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006096/6.528, allocations: 3.757 MB / 3.927 GB, free: 361 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/6.529, allocations: 478 kB / 3.928 GB, free: 360.8 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/6.53, allocations: 0.6799 MB / 3.929 GB, free: 360.1 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/6.53, allocations: 301.1 kB / 3.929 GB, free: 359.8 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/6.532, allocations: 1.923 MB / 3.931 GB, free: 357.9 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/6.535, allocations: 2.888 MB / 3.934 GB, free: 354.7 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/6.54, allocations: 4.613 MB / 3.938 GB, free: 349.7 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-05/6.54, allocations: 13.22 kB / 3.938 GB, free: 349.7 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01236/6.552, allocations: 6.024 MB / 3.944 GB, free: 343.8 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/6.552, allocations: 201.6 kB / 3.944 GB, free: 343.6 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/6.552, allocations: 28 kB / 3.944 GB, free: 343.6 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/6.553, allocations: 128.8 kB / 3.944 GB, free: 343.4 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/6.555, allocations: 0.6122 MB / 3.945 GB, free: 342.8 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/6.557, allocations: 1.688 MB / 3.947 GB, free: 341 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007374/6.564, allocations: 1.191 MB / 3.948 GB, free: 339.8 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/6.565, allocations: 140 kB / 3.948 GB, free: 339.7 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.006145/6.571, allocations: 3.844 MB / 3.952 GB, free: 335.8 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005193/6.576, allocations: 0.7953 MB / 3.952 GB, free: 335 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/6.584, allocations: 4.365 MB / 3.957 GB, free: 330.6 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/6.584, allocations: 16 kB / 3.957 GB, free: 330.6 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/6.584, allocations: 0 / 3.957 GB, free: 330.6 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/6.584, allocations: 3.984 kB / 3.957 GB, free: 330.6 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/6.597, allocations: 6.789 MB / 3.963 GB, free: 323.8 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/6.597, allocations: 0 / 3.963 GB, free: 323.8 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/6.598, allocations: 211.6 kB / 3.964 GB, free: 323.6 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/6.598, allocations: 78.84 kB / 3.964 GB, free: 323.5 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/6.599, allocations: 39.97 kB / 3.964 GB, free: 323.5 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/6.6, allocations: 1.661 MB / 3.965 GB, free: 321.7 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/6.6, allocations: 6.375 kB / 3.965 GB, free: 321.6 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00884/6.609, allocations: 3.919 MB / 3.969 GB, free: 317.7 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006295/6.615, allocations: 3.172 MB / 3.972 GB, free: 314.5 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003682/6.619, allocations: 51.67 kB / 3.972 GB, free: 314.4 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006003/6.625, allocations: 0.7499 MB / 3.973 GB, free: 313.7 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/6.625, allocations: 104.7 kB / 3.973 GB, free: 313.6 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/6.626, allocations: 67.97 kB / 3.973 GB, free: 313.5 MB / 1.592 GB Notification: Performance of sorting global known variables: time 2.13/8.756, allocations: 0.9475 GB / 4.921 GB, free: 0.5435 GB / 1.592 GB Notification: Performance of sort global known variables: time 6.81e-07/8.756, allocations: 1.5 kB / 4.921 GB, free: 0.5435 GB / 1.592 GB Notification: Performance of remove unused functions: time 0.01049/8.766, allocations: 1.892 MB / 4.922 GB, free: 0.5435 GB / 1.592 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.01659/8.783, allocations: 5.427 MB / 4.928 GB, free: 0.5418 GB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.006979/8.79, allocations: 4.372 MB / 4.932 GB, free: 0.5406 GB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/8.79, allocations: 5 kB / 4.932 GB, free: 0.5406 GB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/8.792, allocations: 1.876 MB / 4.934 GB, free: 0.5399 GB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00943/8.802, allocations: 0.8557 MB / 4.935 GB, free: 0.5395 GB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.448/17.25, allocations: 4.771 GB / 9.706 GB, free: 52.54 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009321/17.26, allocations: 4.661 MB / 9.71 GB, free: 47.89 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.009629/17.27, allocations: 3.007 MB / 9.713 GB, free: 44.97 MB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009917/17.28, allocations: 4.029 MB / 9.717 GB, free: 40.94 MB / 1.592 GB Notification: Performance of SimCode: time 1.452e-06/17.28, allocations: 0 / 9.717 GB, free: 40.94 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.341/19.62, allocations: 0.7661 GB / 10.48 GB, free: 0.5598 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.48/58.1, allocations: 10.3 kB / 10.48 GB, free: 0.5598 GB / 1.607 GB " [Timeout remaining time 242] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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: 64.38526314700721] Failed to read output from testmodel.py, exit status != 0: 58.39878386599594 58.414099802 56.949923617 Calling exit ...