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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001534/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001851/0.001851, allocations: 197.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.27 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2326, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008336/0.241, allocations: 8.153 MB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.3892, allocations: 157.5 MB / 1.214 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.3907, allocations: 31.81 kB / 1.214 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.3957, allocations: 1.822 MB / 1.216 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.3989, allocations: 1.174 MB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.4021, allocations: 1.247 MB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005563/0.4076, allocations: 5.406 MB / 1.223 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.4093, allocations: 1.083 MB / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.4116, allocations: 1.448 MB / 1.226 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.4134, allocations: 1.44 MB / 1.227 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.4138, allocations: 132 kB / 1.227 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.4172, allocations: 2.083 MB / 1.229 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.4194, allocations: 2.885 MB / 1.232 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.4218, allocations: 2.529 MB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.43, allocations: 10.56 MB / 1.245 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.43, allocations: 8 kB / 1.245 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.21e-07/0.43, allocations: 0 / 1.245 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.926e-05/0.4301, allocations: 0 / 1.245 GB, free: 1.984 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 0.4138/0.8439, allocations: 8.258 MB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.844, allocations: 9.906 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.8442, allocations: 226.8 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.8465, allocations: 0.5931 MB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2064/1.053, allocations: 276 MB / 1.523 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.053, allocations: 134.9 kB / 1.524 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/1.054, allocations: 188 kB / 1.524 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/1.057, allocations: 1.96 MB / 1.526 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.057, allocations: 7.938 kB / 1.526 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.057, allocations: 64 kB / 1.526 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/1.057, allocations: 36 kB / 1.526 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/1.06, allocations: 1.978 MB / 1.528 GB, free: 10.84 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.05891/1.119, allocations: 70.39 MB / 1.596 GB, free: 4.238 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/1.122, allocations: 1.781 MB / 1.598 GB, free: 2.449 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.124, allocations: 1.087 MB / 1.599 GB, free: 1.363 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/1.124, allocations: 37.09 kB / 1.599 GB, free: 1.324 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/1.126, allocations: 1.192 MB / 1.6 GB, free: 116 kB / 1.139 GB Notification: Performance of pre-optimization done (n=117): time 6.231e-06/1.126, allocations: 13.33 kB / 1.6 GB, free: 104 kB / 1.139 GB Notification: Performance of matching and sorting (n=117): time 0.008565/1.134, allocations: 3.686 MB / 1.604 GB, free: 12.38 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/1.135, allocations: 346.5 kB / 1.604 GB, free: 11.99 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7119/1.846, allocations: 315.9 MB / 1.913 GB, free: 293 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004405/1.847, allocations: 65.7 kB / 1.913 GB, free: 293 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.85, allocations: 2.221 MB / 1.915 GB, free: 291 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/1.85, allocations: 390.2 kB / 1.916 GB, free: 290.8 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.851, allocations: 458.5 kB / 1.916 GB, free: 290.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/1.851, allocations: 313.1 kB / 1.916 GB, free: 290 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/1.853, allocations: 1.525 MB / 1.918 GB, free: 288.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/1.855, allocations: 1.831 MB / 1.92 GB, free: 286.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/1.859, allocations: 3.226 MB / 1.923 GB, free: 283.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/1.859, allocations: 0.6875 kB / 1.923 GB, free: 283.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007438/1.866, allocations: 4.284 MB / 1.927 GB, free: 279 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.866, allocations: 168.8 kB / 1.927 GB, free: 278.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.866, allocations: 8 kB / 1.927 GB, free: 278.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/1.867, allocations: 93.02 kB / 1.927 GB, free: 278.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.868, allocations: 391.4 kB / 1.928 GB, free: 278.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/1.87, allocations: 1.538 MB / 1.929 GB, free: 276.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.874, allocations: 0.6346 MB / 1.93 GB, free: 276.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/1.874, allocations: 91.97 kB / 1.93 GB, free: 276 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.002528/1.876, allocations: 2.168 MB / 1.932 GB, free: 273.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.879, allocations: 454 kB / 1.932 GB, free: 273.4 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/1.884, allocations: 3.381 MB / 1.936 GB, free: 270 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.884, allocations: 15.94 kB / 1.936 GB, free: 270 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/1.884, allocations: 0.8438 kB / 1.936 GB, free: 270 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.884, allocations: 11.97 kB / 1.936 GB, free: 270 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/1.889, allocations: 4.088 MB / 1.94 GB, free: 265.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.889, allocations: 0 / 1.94 GB, free: 265.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/1.89, allocations: 183.2 kB / 1.94 GB, free: 265.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/1.891, allocations: 84.48 kB / 1.94 GB, free: 265.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.877e-05/1.891, allocations: 43.97 kB / 1.94 GB, free: 265.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/1.892, allocations: 1.547 MB / 1.941 GB, free: 263.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.892, allocations: 3.938 kB / 1.941 GB, free: 263.9 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/1.898, allocations: 3.035 MB / 1.944 GB, free: 260.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/1.9, allocations: 1.778 MB / 1.946 GB, free: 259 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/1.902, allocations: 35.91 kB / 1.946 GB, free: 259 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/1.904, allocations: 419.9 kB / 1.947 GB, free: 258.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.905, allocations: 96.81 kB / 1.947 GB, free: 258.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.905, allocations: 55.97 kB / 1.947 GB, free: 258.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.1544/2.059, allocations: 251.5 MB / 2.192 GB, free: 6.844 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.71e-07/2.059, allocations: 0 / 2.192 GB, free: 6.844 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004699/2.064, allocations: 1.41 MB / 2.194 GB, free: 5.508 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.008473/2.072, allocations: 4.442 MB / 2.198 GB, free: 1.371 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.3884/2.461, allocations: 4.328 MB / 2.202 GB, free: 452.9 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.461, allocations: 1.344 kB / 2.202 GB, free: 452.9 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/2.463, allocations: 1.902 MB / 2.204 GB, free: 452.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/2.467, allocations: 0.582 MB / 2.205 GB, free: 452.7 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.796/4.263, allocations: 1.278 GB / 3.483 GB, free: 158.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/4.267, allocations: 3.014 MB / 3.486 GB, free: 155.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003859/4.27, allocations: 1.689 MB / 3.487 GB, free: 153.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/4.273, allocations: 2.354 MB / 3.49 GB, free: 151.6 MB / 1.279 GB Notification: Performance of SimCode: time 8.92e-07/4.273, allocations: 0 / 3.49 GB, free: 151.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.491/5.765, allocations: 274.3 MB / 3.757 GB, free: 359.9 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/5.765, allocations: 303.1 kB / 3.758 GB, free: 359.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.388/10.15, allocations: 6.781 kB / 3.758 GB, free: 359.6 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)