Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002697/0.002697, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.479/2.479, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.423/5.423, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 64.41 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5201, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.0191/0.5393, allocations: 8.172 MB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.3111/0.8505, allocations: 157.2 MB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.854, allocations: 35.75 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.8646, allocations: 1.826 MB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.8722, allocations: 1.166 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.8791, allocations: 1.31 MB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01075/0.8899, allocations: 5.446 MB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/0.8936, allocations: 1.116 MB / 1.225 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.8992, allocations: 1.745 MB / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.9036, allocations: 1.537 MB / 1.228 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.9052, allocations: 276 kB / 1.228 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008776/0.914, allocations: 2.329 MB / 1.23 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005572/0.9197, allocations: 3.025 MB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008229/0.928, allocations: 2.943 MB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02324/0.9513, allocations: 10.71 MB / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.9513, allocations: 0 / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.935e-06/0.9514, allocations: 0 / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002984/0.9517, allocations: 0 / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 1.111/2.063, allocations: 8.268 MB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/2.063, allocations: 9.156 kB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007995/2.063, allocations: 223.1 kB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/2.069, allocations: 0.5978 MB / 1.255 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.43/2.499, allocations: 276 MB / 1.525 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/2.5, allocations: 138.9 kB / 1.525 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006485/2.5, allocations: 184 kB / 1.525 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/2.505, allocations: 1.956 MB / 1.527 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/2.505, allocations: 7.938 kB / 1.527 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/2.505, allocations: 68 kB / 1.527 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/2.505, allocations: 36 kB / 1.527 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/2.509, allocations: 1.982 MB / 1.529 GB, free: 10.85 MB / 1.076 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.06725/2.576, allocations: 70.37 MB / 1.598 GB, free: 4.262 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/2.58, allocations: 1.782 MB / 1.6 GB, free: 2.477 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/2.581, allocations: 1.095 MB / 1.601 GB, free: 1.387 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/2.581, allocations: 36.94 kB / 1.601 GB, free: 1.348 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/2.583, allocations: 1.189 MB / 1.602 GB, free: 144 kB / 1.139 GB Notification: Performance of pre-optimization done (n=117): time 5.771e-06/2.583, allocations: 3.938 kB / 1.602 GB, free: 140 kB / 1.139 GB Notification: Performance of matching and sorting (n=117): time 0.009317/2.593, allocations: 3.69 MB / 1.606 GB, free: 12.4 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/2.593, allocations: 342.5 kB / 1.606 GB, free: 12.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.309/3.902, allocations: 315.9 MB / 1.914 GB, free: 293.8 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006445/3.903, allocations: 67.48 kB / 1.915 GB, free: 293.8 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003239/3.906, allocations: 2.229 MB / 1.917 GB, free: 291.7 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.00076/3.907, allocations: 387.3 kB / 1.917 GB, free: 291.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007625/3.908, allocations: 460.5 kB / 1.918 GB, free: 291.1 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/3.908, allocations: 303.2 kB / 1.918 GB, free: 290.8 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/3.91, allocations: 1.527 MB / 1.919 GB, free: 289.3 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/3.912, allocations: 1.833 MB / 1.921 GB, free: 287.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/3.915, allocations: 3.233 MB / 1.924 GB, free: 284.1 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/3.915, allocations: 0.625 kB / 1.924 GB, free: 284.1 MB / 1.264 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009284/3.924, allocations: 4.283 MB / 1.928 GB, free: 279.8 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/3.925, allocations: 168.8 kB / 1.929 GB, free: 279.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/3.925, allocations: 8 kB / 1.929 GB, free: 279.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/3.925, allocations: 88.72 kB / 1.929 GB, free: 279.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/3.927, allocations: 391.4 kB / 1.929 GB, free: 279.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/3.929, allocations: 1.649 MB / 1.931 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/3.934, allocations: 0.6428 MB / 1.931 GB, free: 276.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/3.935, allocations: 91.8 kB / 1.931 GB, free: 276.7 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * 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.004091/3.939, allocations: 2.164 MB / 1.933 GB, free: 274.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00371/3.942, allocations: 454.9 kB / 1.934 GB, free: 274 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/3.949, allocations: 3.38 MB / 1.937 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/3.949, allocations: 12.94 kB / 1.937 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/3.949, allocations: 0 / 1.937 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/3.949, allocations: 10.5 kB / 1.937 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008872/3.958, allocations: 4.095 MB / 1.941 GB, free: 266.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/3.958, allocations: 0 / 1.941 GB, free: 266.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/3.959, allocations: 191.6 kB / 1.941 GB, free: 266.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/3.96, allocations: 68.8 kB / 1.941 GB, free: 266.2 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/3.96, allocations: 39.97 kB / 1.942 GB, free: 266.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/3.962, allocations: 1.664 MB / 1.943 GB, free: 264.4 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/3.962, allocations: 11.31 kB / 1.943 GB, free: 264.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/3.969, allocations: 3.03 MB / 1.946 GB, free: 261.3 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004633/3.974, allocations: 1.776 MB / 1.948 GB, free: 259.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002505/3.977, allocations: 39.78 kB / 1.948 GB, free: 259.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/3.981, allocations: 425 kB / 1.948 GB, free: 259.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/3.981, allocations: 96.86 kB / 1.948 GB, free: 259 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/3.981, allocations: 59.97 kB / 1.948 GB, free: 258.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.2848/4.266, allocations: 251.5 MB / 2.194 GB, free: 7.387 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.51e-07/4.266, allocations: 0 / 2.194 GB, free: 7.387 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01091/4.277, allocations: 1.399 MB / 2.195 GB, free: 6.062 MB / 1.264 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * 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.0195/4.297, allocations: 4.451 MB / 2.2 GB, free: 1.902 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.9979/5.295, allocations: 4.862 MB / 2.205 GB, free: 454.1 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/5.295, allocations: 0 / 2.205 GB, free: 454.1 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003751/5.298, allocations: 1.899 MB / 2.206 GB, free: 453.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008557/5.307, allocations: 0.6101 MB / 2.207 GB, free: 453.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.702/9.009, allocations: 1.278 GB / 3.485 GB, free: 160.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/9.012, allocations: 3.014 MB / 3.488 GB, free: 157.6 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.004689/9.017, allocations: 1.702 MB / 3.49 GB, free: 156.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004469/9.021, allocations: 2.35 MB / 3.492 GB, free: 153.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.203e-06/9.021, allocations: 0 / 3.492 GB, free: 153.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.656/13.68, allocations: 276.4 MB / 3.762 GB, free: 361.6 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004399/13.68, allocations: 310.5 kB / 3.762 GB, free: 361.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.468/23.15, allocations: 4.062 kB / 3.762 GB, free: 361.2 MB / 1.279 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)