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.001967/0.001967, allocations: 97.88 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.002494/0.002494, allocations: 214.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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.804/2.804, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 177] 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.002124/0.002124, allocations: 68.3 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01096/0.3622, allocations: 7.529 MB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2018/0.564, allocations: 140.6 MB / 1.429 GB, free: 6.004 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.5661, allocations: 47.62 kB / 1.429 GB, free: 5.957 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006632/0.5728, allocations: 2.141 MB / 1.431 GB, free: 3.809 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.5775, allocations: 1.294 MB / 1.432 GB, free: 2.512 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.5821, allocations: 1.526 MB / 1.434 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007974/0.5901, allocations: 5.773 MB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.5922, allocations: 0.8221 MB / 1.44 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.5957, allocations: 1.753 MB / 1.442 GB, free: 8.574 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.5991, allocations: 1.697 MB / 1.443 GB, free: 6.871 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.6004, allocations: 292 kB / 1.444 GB, free: 6.586 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006844/0.6073, allocations: 3.035 MB / 1.447 GB, free: 3.547 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005792/0.6131, allocations: 4.858 MB / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.008978/0.6221, allocations: 3.928 MB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.6466, allocations: 18.08 MB / 1.473 GB, free: 8.602 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6466, allocations: 4 kB / 1.473 GB, free: 8.598 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6466, allocations: 0 / 1.473 GB, free: 8.598 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005342/0.6472, allocations: 0 / 1.473 GB, free: 8.598 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.04323/0.6904, allocations: 14.67 MB / 1.487 GB, free: 9.812 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6905, allocations: 12.03 kB / 1.487 GB, free: 9.801 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.391e-05/0.6905, allocations: 39.3 kB / 1.487 GB, free: 9.762 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/0.691, allocations: 244.9 kB / 1.488 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/0.6986, allocations: 1.038 MB / 1.489 GB, free: 8.469 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.326/3.025, allocations: 0.9949 GB / 2.484 GB, free: 309.6 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/3.025, allocations: 171.1 kB / 2.484 GB, free: 309.4 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007327/3.026, allocations: 242.4 kB / 2.484 GB, free: 309.2 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005317/3.031, allocations: 2.772 MB / 2.487 GB, free: 306.2 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.415e-05/3.031, allocations: 4.938 kB / 2.487 GB, free: 306.2 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/3.031, allocations: 68 kB / 2.487 GB, free: 306.2 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/3.031, allocations: 39.94 kB / 2.487 GB, free: 306.1 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/3.035, allocations: 2.387 MB / 2.489 GB, free: 303.7 MB / 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.1283/3.163, allocations: 240.8 MB / 2.724 GB, free: 62.78 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/3.166, allocations: 1.597 MB / 2.726 GB, free: 61.18 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/3.167, allocations: 0.9196 MB / 2.727 GB, free: 60.25 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/3.167, allocations: 28.97 kB / 2.727 GB, free: 60.22 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/3.169, allocations: 1.579 MB / 2.728 GB, free: 58.54 MB / 1.576 GB Notification: Performance of pre-optimization done (n=138): time 3.377e-06/3.169, allocations: 0 / 2.728 GB, free: 58.54 MB / 1.576 GB Notification: Performance of matching and sorting (n=138): time 0.01066/3.18, allocations: 3.913 MB / 2.732 GB, free: 54.61 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/3.18, allocations: 342.5 kB / 2.732 GB, free: 54.22 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.883/6.063, allocations: 1.182 GB / 3.915 GB, free: 92.93 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006325/6.064, allocations: 81.7 kB / 3.915 GB, free: 92.84 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.007212/6.071, allocations: 3.769 MB / 3.919 GB, free: 89.35 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/6.072, allocations: 480.3 kB / 3.919 GB, free: 89.19 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/6.074, allocations: 0.6721 MB / 3.92 GB, free: 88.52 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/6.074, allocations: 302 kB / 3.92 GB, free: 88.22 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/6.078, allocations: 1.852 MB / 3.922 GB, free: 86.36 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/6.083, allocations: 2.93 MB / 3.925 GB, free: 83 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/6.089, allocations: 4.131 MB / 3.929 GB, free: 78.53 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-05/6.09, allocations: 8 kB / 3.929 GB, free: 78.52 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01601/6.106, allocations: 5.716 MB / 3.934 GB, free: 73.09 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/6.106, allocations: 177.6 kB / 3.934 GB, free: 72.91 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/6.106, allocations: 28 kB / 3.934 GB, free: 72.88 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008406/6.107, allocations: 123.8 kB / 3.935 GB, free: 72.76 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/6.11, allocations: 0.6131 MB / 3.935 GB, free: 72.14 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/6.112, allocations: 1.585 MB / 3.937 GB, free: 70.45 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009951/6.122, allocations: 1.182 MB / 3.938 GB, free: 69.41 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009735/6.123, allocations: 147.2 kB / 3.938 GB, free: 69.27 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.007951/6.131, allocations: 3.82 MB / 3.942 GB, free: 65.45 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006729/6.138, allocations: 0.7953 MB / 3.942 GB, free: 64.65 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009919/6.148, allocations: 3.889 MB / 3.946 GB, free: 60.75 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/6.148, allocations: 12 kB / 3.946 GB, free: 60.73 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/6.148, allocations: 0 / 3.946 GB, free: 60.73 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/6.148, allocations: 7.969 kB / 3.946 GB, free: 60.73 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/6.163, allocations: 5.04 MB / 3.951 GB, free: 55.68 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/6.163, allocations: 3.984 kB / 3.951 GB, free: 55.68 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/6.164, allocations: 207.6 kB / 3.951 GB, free: 55.48 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/6.165, allocations: 76.78 kB / 3.952 GB, free: 55.4 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/6.165, allocations: 39.97 kB / 3.952 GB, free: 55.36 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/6.167, allocations: 1.548 MB / 3.953 GB, free: 53.7 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.167, allocations: 64 / 3.953 GB, free: 53.7 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/6.178, allocations: 3.441 MB / 3.956 GB, free: 50.21 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007909/6.186, allocations: 3.42 MB / 3.96 GB, free: 46.8 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00481/6.191, allocations: 36.81 kB / 3.96 GB, free: 46.77 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009307/6.2, allocations: 0.7499 MB / 3.961 GB, free: 46.02 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/6.2, allocations: 109.1 kB / 3.961 GB, free: 45.91 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/6.201, allocations: 71.95 kB / 3.961 GB, free: 45.84 MB / 1.592 GB Notification: Performance of sorting global known variables: time 2.228/8.429, allocations: 0.9475 GB / 4.908 GB, free: 351.9 MB / 1.607 GB Notification: Performance of sort global known variables: time 2.9e-07/8.429, allocations: 0 / 4.908 GB, free: 351.9 MB / 1.607 GB Notification: Performance of remove unused functions: time 0.00869/8.437, allocations: 1.902 MB / 4.91 GB, free: 350.1 MB / 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.01363/8.451, allocations: 4.98 MB / 4.915 GB, free: 346.1 MB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.005303/8.456, allocations: 4.075 MB / 4.919 GB, free: 342 MB / 1.607 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/8.456, allocations: 0 / 4.919 GB, free: 342 MB / 1.607 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/8.458, allocations: 1.602 MB / 4.92 GB, free: 340.4 MB / 1.607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01251/8.471, allocations: 0.8381 MB / 4.921 GB, free: 339.5 MB / 1.607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.24/17.71, allocations: 4.77 GB / 9.692 GB, free: 0.5148 GB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005942/17.72, allocations: 4.176 MB / 9.696 GB, free: 0.5118 GB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.008132/17.72, allocations: 3.01 MB / 9.699 GB, free: 0.509 GB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009595/17.73, allocations: 4.033 MB / 9.703 GB, free: 0.505 GB / 1.623 GB Notification: Performance of SimCode: time 1.583e-06/17.73, allocations: 4 kB / 9.703 GB, free: 0.505 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.614/19.35, allocations: 0.7739 GB / 10.48 GB, free: 444.6 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.23/60.57, allocations: 8 kB / 10.48 GB, free: 444.6 MB / 1.654 GB " [Timeout remaining time 239] (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: 68.43440718401689] Failed to read output from testmodel.py, exit status != 0: 61.519940246944316 60.98787741 60.337372419 Calling exit ...