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.001767/0.001767, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001707/0.001707, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.764/2.764, allocations: 476.7 MB / 0.7715 GB, free: 4.238 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.002011/0.002011, allocations: 62.78 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01134/0.3397, allocations: 8.66 MB / 1.293 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2069/0.5465, allocations: 163 MB / 1.452 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.5483, allocations: 51.62 kB / 1.452 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005762/0.5541, allocations: 2.202 MB / 1.454 GB, free: 13.19 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.558, allocations: 1.281 MB / 1.455 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.5626, allocations: 1.558 MB / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007885/0.5705, allocations: 5.779 MB / 1.462 GB, free: 4.559 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.5725, allocations: 0.8105 MB / 1.463 GB, free: 3.703 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.576, allocations: 1.753 MB / 1.465 GB, free: 1.945 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.5791, allocations: 1.697 MB / 1.467 GB, free: 248 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009719/0.5801, allocations: 292 kB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006195/0.5863, allocations: 3.12 MB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.005212/0.5915, allocations: 4.866 MB / 1.475 GB, free: 7.957 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.008193/0.5997, allocations: 4.868 MB / 1.479 GB, free: 3.066 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/0.6229, allocations: 18.02 MB / 1.497 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.6229, allocations: 0 / 1.497 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6229, allocations: 0 / 1.497 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0004197/0.6233, allocations: 0 / 1.497 GB, free: 0.9961 MB / 1.186 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.04156/0.6649, allocations: 14.38 MB / 1.511 GB, free: 2.508 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6649, allocations: 8.031 kB / 1.511 GB, free: 2.5 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.025e-05/0.665, allocations: 43.3 kB / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007254/0.6657, allocations: 240.9 kB / 1.511 GB, free: 2.211 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/0.6734, allocations: 1.038 MB / 1.512 GB, free: 1.168 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.474/3.147, allocations: 0.9949 GB / 2.507 GB, free: 291.1 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/3.147, allocations: 171.1 kB / 2.507 GB, free: 290.9 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006654/3.148, allocations: 236 kB / 2.508 GB, free: 290.7 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/3.152, allocations: 2.377 MB / 2.51 GB, free: 288.3 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/3.152, allocations: 0 / 2.51 GB, free: 288.3 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/3.152, allocations: 68 kB / 2.51 GB, free: 288.2 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/3.152, allocations: 39.98 kB / 2.51 GB, free: 288.2 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/3.156, allocations: 2.468 MB / 2.512 GB, free: 285.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.1363/3.292, allocations: 243 MB / 2.75 GB, free: 42.4 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/3.295, allocations: 1.666 MB / 2.751 GB, free: 40.74 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/3.296, allocations: 0.9805 MB / 2.752 GB, free: 39.75 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/3.296, allocations: 41.09 kB / 2.752 GB, free: 39.71 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/3.298, allocations: 1.354 MB / 2.754 GB, free: 38.34 MB / 1.576 GB Notification: Performance of pre-optimization done (n=138): time 3.496e-06/3.298, allocations: 0.5625 kB / 2.754 GB, free: 38.34 MB / 1.576 GB Notification: Performance of matching and sorting (n=138): time 0.01139/3.309, allocations: 4.285 MB / 2.758 GB, free: 34.04 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/3.309, allocations: 366.5 kB / 2.758 GB, free: 33.63 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.744/6.053, allocations: 1.182 GB / 3.941 GB, free: 78.64 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006834/6.054, allocations: 85.7 kB / 3.941 GB, free: 78.55 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006898/6.061, allocations: 3.766 MB / 3.944 GB, free: 75.07 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/6.062, allocations: 474.8 kB / 3.945 GB, free: 74.91 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/6.063, allocations: 0.677 MB / 3.945 GB, free: 74.23 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/6.063, allocations: 301.1 kB / 3.946 GB, free: 73.94 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/6.066, allocations: 1.928 MB / 3.948 GB, free: 72.01 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/6.069, allocations: 2.887 MB / 3.95 GB, free: 68.75 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/6.074, allocations: 4.616 MB / 3.955 GB, free: 63.8 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/6.074, allocations: 8 kB / 3.955 GB, free: 63.79 MB / 1.592 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01287/6.087, allocations: 6.03 MB / 3.961 GB, free: 58.02 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/6.087, allocations: 205.6 kB / 3.961 GB, free: 57.81 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/6.087, allocations: 28.52 kB / 3.961 GB, free: 57.79 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/6.087, allocations: 116.9 kB / 3.961 GB, free: 57.67 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/6.09, allocations: 0.6122 MB / 3.962 GB, free: 57.05 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/6.092, allocations: 1.587 MB / 3.963 GB, free: 55.35 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/6.098, allocations: 1.191 MB / 3.965 GB, free: 54.2 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/6.099, allocations: 147.7 kB / 3.965 GB, free: 54.06 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.005364/6.104, allocations: 3.844 MB / 3.968 GB, free: 50.21 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004985/6.109, allocations: 0.7953 MB / 3.969 GB, free: 49.41 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/6.117, allocations: 4.368 MB / 3.973 GB, free: 45.02 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/6.117, allocations: 16 kB / 3.973 GB, free: 45.01 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/6.117, allocations: 0 / 3.973 GB, free: 45.01 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/6.117, allocations: 7.969 kB / 3.973 GB, free: 45 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/6.134, allocations: 6.763 MB / 3.98 GB, free: 38.21 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/6.134, allocations: 0 / 3.98 GB, free: 38.21 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/6.135, allocations: 211.6 kB / 3.98 GB, free: 38 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/6.136, allocations: 76.78 kB / 3.98 GB, free: 37.92 MB / 1.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/6.136, allocations: 39.98 kB / 3.98 GB, free: 37.88 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/6.138, allocations: 1.553 MB / 3.982 GB, free: 36.21 MB / 1.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.138, allocations: 4.031 kB / 3.982 GB, free: 36.21 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008787/6.146, allocations: 3.923 MB / 3.986 GB, free: 32.25 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00773/6.154, allocations: 3.104 MB / 3.989 GB, free: 29.14 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004208/6.158, allocations: 36.91 kB / 3.989 GB, free: 29.1 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006669/6.165, allocations: 0.7575 MB / 3.99 GB, free: 28.35 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/6.166, allocations: 109.1 kB / 3.99 GB, free: 28.24 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003214/6.166, allocations: 67.97 kB / 3.99 GB, free: 28.17 MB / 1.592 GB Notification: Performance of sorting global known variables: time 1.972/8.137, allocations: 0.9475 GB / 4.937 GB, free: 292.8 MB / 1.592 GB Notification: Performance of sort global known variables: time 3.31e-07/8.137, allocations: 4 kB / 4.937 GB, free: 292.7 MB / 1.592 GB Notification: Performance of remove unused functions: time 0.007527/8.145, allocations: 1.898 MB / 4.939 GB, free: 291 MB / 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.01269/8.158, allocations: 5.431 MB / 4.944 GB, free: 286.4 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.005585/8.163, allocations: 4.383 MB / 4.949 GB, free: 282 MB / 1.592 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/8.163, allocations: 0 / 4.949 GB, free: 282 MB / 1.592 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/8.165, allocations: 1.871 MB / 4.95 GB, free: 280.1 MB / 1.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00862/8.174, allocations: 0.8412 MB / 4.951 GB, free: 279.3 MB / 1.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.701/16.88, allocations: 4.771 GB / 9.722 GB, free: 412.5 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008169/16.88, allocations: 4.659 MB / 9.727 GB, free: 407.9 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.007758/16.89, allocations: 3.012 MB / 9.73 GB, free: 405 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00863/16.9, allocations: 4.037 MB / 9.734 GB, free: 400.9 MB / 1.623 GB Notification: Performance of SimCode: time 1.964e-06/16.9, allocations: 0 / 9.734 GB, free: 400.9 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.555/18.45, allocations: 0.7673 GB / 10.5 GB, free: 306.3 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.88/58.33, allocations: 8 kB / 10.5 GB, free: 306.3 MB / 1.639 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.10235339700012] Failed to read output from testmodel.py, exit status != 0: 59.25592569599394 58.749789221 58.122570694 Calling exit ...