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.001713/0.001713, 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.001563/0.001563, allocations: 216.3 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.002007/0.002007, allocations: 65.19 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01128/0.3559, allocations: 7.533 MB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.5412, allocations: 140.6 MB / 1.471 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.5427, allocations: 55.56 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005264/0.5479, allocations: 2.14 MB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.5512, allocations: 1.295 MB / 1.475 GB, free: 9.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.5547, allocations: 1.525 MB / 1.476 GB, free: 7.801 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006569/0.5613, allocations: 5.773 MB / 1.482 GB, free: 2.016 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.5629, allocations: 0.8222 MB / 1.483 GB, free: 1.145 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.566, allocations: 1.753 MB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.5689, allocations: 1.693 MB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007682/0.5697, allocations: 292 kB / 1.486 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/0.5753, allocations: 3.046 MB / 1.489 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.005118/0.5804, allocations: 4.85 MB / 1.494 GB, free: 5.492 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00713/0.5875, allocations: 3.924 MB / 1.498 GB, free: 1.551 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02324/0.6108, allocations: 18.09 MB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6108, allocations: 0 / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6108, allocations: 0 / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000382/0.6111, allocations: 0 / 1.515 GB, free: 15.41 MB / 1.217 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.04129/0.6524, allocations: 14.66 MB / 1.53 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.6525, allocations: 12.03 kB / 1.53 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.666e-05/0.6526, allocations: 39.3 kB / 1.53 GB, free: 0.582 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006367/0.6532, allocations: 244.9 kB / 1.53 GB, free: 340 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/0.6617, allocations: 1.03 MB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.163/2.825, allocations: 0.995 GB / 2.526 GB, free: 331.4 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/2.825, allocations: 171.1 kB / 2.526 GB, free: 331.3 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006207/2.826, allocations: 236 kB / 2.526 GB, free: 331 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/2.83, allocations: 2.778 MB / 2.529 GB, free: 328.1 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/2.83, allocations: 0 / 2.529 GB, free: 328.1 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/2.83, allocations: 64 kB / 2.529 GB, free: 328 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/2.83, allocations: 40 kB / 2.529 GB, free: 328 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/2.833, allocations: 2.394 MB / 2.532 GB, free: 325.6 MB / 1.639 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/2.958, allocations: 240.8 MB / 2.767 GB, free: 84.62 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/2.961, allocations: 1.582 MB / 2.768 GB, free: 83.03 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/2.962, allocations: 0.9119 MB / 2.769 GB, free: 82.11 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 8.713e-05/2.962, allocations: 31.7 kB / 2.769 GB, free: 82.08 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/2.963, allocations: 1.586 MB / 2.771 GB, free: 80.39 MB / 1.639 GB Notification: Performance of pre-optimization done (n=138): time 3.637e-06/2.963, allocations: 0 / 2.771 GB, free: 80.39 MB / 1.639 GB Notification: Performance of matching and sorting (n=138): time 0.01049/2.974, allocations: 3.913 MB / 2.775 GB, free: 76.45 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/2.974, allocations: 342.5 kB / 2.775 GB, free: 76.06 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.765/5.739, allocations: 1.182 GB / 3.957 GB, free: 175.4 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0007366/5.74, allocations: 81.7 kB / 3.957 GB, free: 175.3 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.006445/5.746, allocations: 3.763 MB / 3.961 GB, free: 171.8 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006148/5.747, allocations: 485.7 kB / 3.962 GB, free: 171.6 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000999/5.748, allocations: 0.6723 MB / 3.962 GB, free: 170.9 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/5.748, allocations: 305.1 kB / 3.962 GB, free: 170.6 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/5.75, allocations: 1.852 MB / 3.964 GB, free: 168.8 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/5.752, allocations: 2.926 MB / 3.967 GB, free: 165.4 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/5.757, allocations: 4.135 MB / 3.971 GB, free: 160.9 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/5.757, allocations: 9.5 kB / 3.971 GB, free: 160.9 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01223/5.769, allocations: 5.719 MB / 3.977 GB, free: 155.5 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/5.769, allocations: 181.6 kB / 3.977 GB, free: 155.3 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/5.769, allocations: 28 kB / 3.977 GB, free: 155.3 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/5.77, allocations: 120.7 kB / 3.977 GB, free: 155.1 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/5.772, allocations: 0.6122 MB / 3.978 GB, free: 154.5 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/5.774, allocations: 1.581 MB / 3.979 GB, free: 152.8 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008444/5.782, allocations: 1.184 MB / 3.98 GB, free: 151.8 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007162/5.783, allocations: 144.8 kB / 3.981 GB, free: 151.7 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.006674/5.79, allocations: 3.821 MB / 3.984 GB, free: 147.8 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005575/5.795, allocations: 0.7953 MB / 3.985 GB, free: 147 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006997/5.802, allocations: 3.888 MB / 3.989 GB, free: 143.2 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/5.802, allocations: 12.55 kB / 3.989 GB, free: 143.1 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.802, allocations: 0 / 3.989 GB, free: 143.1 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/5.802, allocations: 11.97 kB / 3.989 GB, free: 143.1 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/5.815, allocations: 5.047 MB / 3.994 GB, free: 138.1 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/5.815, allocations: 0 / 3.994 GB, free: 138.1 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/5.816, allocations: 214.8 kB / 3.994 GB, free: 137.9 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/5.816, allocations: 68.8 kB / 3.994 GB, free: 137.8 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/5.816, allocations: 43.97 kB / 3.994 GB, free: 137.8 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/5.818, allocations: 1.545 MB / 3.996 GB, free: 136.1 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/5.818, allocations: 4.062 kB / 3.996 GB, free: 136.1 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/5.827, allocations: 3.442 MB / 3.999 GB, free: 132.6 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008664/5.836, allocations: 3.42 MB / 4.002 GB, free: 129.2 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004267/5.84, allocations: 37.89 kB / 4.002 GB, free: 129.2 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007136/5.847, allocations: 0.7576 MB / 4.003 GB, free: 128.4 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/5.848, allocations: 109.1 kB / 4.003 GB, free: 128.3 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/5.848, allocations: 70.2 kB / 4.003 GB, free: 128.2 MB / 1.654 GB Notification: Performance of sorting global known variables: time 2.186/8.034, allocations: 0.9475 GB / 4.951 GB, free: 445.3 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.81e-07/8.034, allocations: 0 / 4.951 GB, free: 445.3 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.008429/8.042, allocations: 1.898 MB / 4.953 GB, free: 443.6 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.01285/8.055, allocations: 4.973 MB / 4.957 GB, free: 439.5 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.006293/8.061, allocations: 4.066 MB / 4.961 GB, free: 435.5 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/8.061, allocations: 0 / 4.961 GB, free: 435.5 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/8.063, allocations: 1.613 MB / 4.963 GB, free: 433.8 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/8.074, allocations: 0.8454 MB / 4.964 GB, free: 433 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.43/16.5, allocations: 4.77 GB / 9.734 GB, free: 101.2 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006288/16.51, allocations: 4.181 MB / 9.738 GB, free: 97.05 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.007971/16.52, allocations: 3.014 MB / 9.741 GB, free: 94.13 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009231/16.53, allocations: 4.041 MB / 9.745 GB, free: 90.09 MB / 1.67 GB Notification: Performance of SimCode: time 1.303e-06/16.53, allocations: 0 / 9.745 GB, free: 90.09 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.294/18.82, allocations: 0.7739 GB / 10.52 GB, free: 0.5971 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.73/59.55, allocations: 4.844 kB / 10.52 GB, free: 0.5971 GB / 1.686 GB " [Timeout remaining time 240] (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: 67.19355178601108] Failed to read output from testmodel.py, exit status != 0: 59.935488009941764 59.958376237 59.343183488 Calling exit ...