Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 185.2 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009272/0.0009271, allocations: 98.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 8.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.005853/0.233, allocations: 5.978 MB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.388, allocations: 131.9 MB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.3898, allocations: 35.75 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.3945, allocations: 1.417 MB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.3975, allocations: 0.9338 MB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.4006, allocations: 0.9977 MB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003874/0.4045, allocations: 2.644 MB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4059, allocations: 0.9824 MB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.4081, allocations: 1.234 MB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.4094, allocations: 1.039 MB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.4096, allocations: 64 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.4138, allocations: 1.88 MB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003675/0.4175, allocations: 4.549 MB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.4191, allocations: 1.216 MB / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5577/0.9768, allocations: 15.09 MB / 1.066 GB, free: 6.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9769, allocations: 0.625 kB / 1.066 GB, free: 6.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9769, allocations: 4.156 kB / 1.066 GB, free: 6.871 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006301/0.9775, allocations: 0.7188 kB / 1.066 GB, free: 6.871 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.04309/1.021, allocations: 11.31 MB / 1.077 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/1.021, allocations: 8.969 kB / 1.077 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/1.022, allocations: 231.6 kB / 1.077 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008229/1.03, allocations: 0.9112 MB / 1.078 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.795/2.825, allocations: 0.9553 GB / 2.034 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/2.825, allocations: 167.6 kB / 2.034 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008918/2.826, allocations: 235.7 kB / 2.034 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/2.829, allocations: 1.99 MB / 2.036 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/2.829, allocations: 4 kB / 2.036 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/2.83, allocations: 67.98 kB / 2.036 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/2.83, allocations: 36 kB / 2.036 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/2.833, allocations: 2.131 MB / 2.038 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7144/3.547, allocations: 242.4 MB / 2.275 GB, free: 338.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/3.55, allocations: 1.505 MB / 2.276 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/3.55, allocations: 46.17 kB / 2.276 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/3.552, allocations: 1.011 MB / 2.277 GB, free: 336.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 3.626e-06/3.552, allocations: 0 / 2.277 GB, free: 336.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01178/3.564, allocations: 3.5 MB / 2.281 GB, free: 333.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/3.564, allocations: 362.5 kB / 2.281 GB, free: 332.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.96/6.524, allocations: 1.182 GB / 3.464 GB, free: 337.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009424/6.525, allocations: 81.7 kB / 3.464 GB, free: 337.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007534/6.532, allocations: 3.703 MB / 3.467 GB, free: 333.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000735/6.533, allocations: 420.6 kB / 3.468 GB, free: 333.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/6.533, allocations: 56 kB / 3.468 GB, free: 333.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002612/6.534, allocations: 431.8 kB / 3.468 GB, free: 333.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/6.536, allocations: 1.624 MB / 3.47 GB, free: 331.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/6.539, allocations: 2.557 MB / 3.472 GB, free: 328.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/6.543, allocations: 2.145 MB / 3.474 GB, free: 326.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/6.543, allocations: 8 kB / 3.474 GB, free: 326.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01488/6.558, allocations: 5.336 MB / 3.48 GB, free: 321.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/6.558, allocations: 213.6 kB / 3.48 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-05/6.558, allocations: 29 kB / 3.48 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/6.559, allocations: 129.3 kB / 3.48 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/6.561, allocations: 0.5927 MB / 3.481 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/6.563, allocations: 1.593 MB / 3.482 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008915/6.572, allocations: 1.166 MB / 3.483 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009416/6.573, allocations: 140.7 kB / 3.483 GB, free: 317.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008121/6.581, allocations: 3.822 MB / 3.487 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006527/6.588, allocations: 0.7413 MB / 3.488 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/6.598, allocations: 3.713 MB / 3.491 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/6.598, allocations: 12 kB / 3.491 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/6.598, allocations: 0 / 3.491 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/6.598, allocations: 3.984 kB / 3.491 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03705/6.635, allocations: 11.72 MB / 3.503 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/6.635, allocations: 0 / 3.503 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/6.636, allocations: 203.8 kB / 3.503 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/6.636, allocations: 84.77 kB / 3.503 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/6.637, allocations: 35.98 kB / 3.503 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/6.638, allocations: 1.562 MB / 3.505 GB, free: 295 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/6.638, allocations: 3.953 kB / 3.505 GB, free: 295 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/6.649, allocations: 3.284 MB / 3.508 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01135/6.661, allocations: 3.128 MB / 3.511 GB, free: 288.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006087/6.667, allocations: 35.92 kB / 3.511 GB, free: 288.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01041/6.677, allocations: 0.7674 MB / 3.512 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/6.678, allocations: 86.2 kB / 3.512 GB, free: 287.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/6.678, allocations: 59.97 kB / 3.512 GB, free: 287.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.7/8.378, allocations: 0.9476 GB / 4.46 GB, free: 121.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.91e-07/8.378, allocations: 0 / 4.46 GB, free: 121.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01136/8.39, allocations: 1.805 MB / 4.461 GB, free: 119.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01253/8.402, allocations: 4.719 MB / 4.466 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006733/8.409, allocations: 5.076 MB / 4.471 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/8.409, allocations: 0 / 4.471 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/8.411, allocations: 2.409 MB / 4.473 GB, free: 108.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00814/8.42, allocations: 0.747 MB / 4.474 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.059/8.479, allocations: 43.86 MB / 4.517 GB, free: 61.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/8.49, allocations: 4.754 MB / 4.521 GB, free: 57.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01334/8.503, allocations: 3.019 MB / 4.524 GB, free: 54.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01096/8.514, allocations: 3.982 MB / 4.528 GB, free: 50.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/8.514, allocations: 4 kB / 4.528 GB, free: 50.17 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.337/9.851, allocations: 0.4941 GB / 5.022 GB, free: 333.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/9.851, allocations: 314.8 kB / 5.023 GB, free: 332.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.555/19.41, allocations: 0 / 5.023 GB, free: 332.9 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)