Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8415, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01053/0.8521, allocations: 7.011 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1857/1.038, allocations: 155.6 MB / 1.176 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/1.04, allocations: 27.88 kB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005058/1.045, allocations: 1.805 MB / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/1.048, allocations: 0.8816 MB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.05, allocations: 1.028 MB / 1.18 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003809/1.054, allocations: 3.657 MB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/1.056, allocations: 0.929 MB / 1.184 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/1.057, allocations: 1.173 MB / 1.185 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/1.059, allocations: 1.066 MB / 1.187 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005505/1.06, allocations: 200 kB / 1.187 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/1.064, allocations: 2.216 MB / 1.189 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/1.066, allocations: 1.419 MB / 1.19 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002589/1.068, allocations: 1.512 MB / 1.192 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009507/1.078, allocations: 5.614 MB / 1.197 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.078, allocations: 0 / 1.197 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.214e-06/1.078, allocations: 0 / 1.197 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001521/1.078, allocations: 0 / 1.197 GB, free: 9.605 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01426/1.092, allocations: 4.203 MB / 1.201 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.092, allocations: 8.031 kB / 1.201 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006178/1.093, allocations: 194.1 kB / 1.202 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/1.095, allocations: 353.1 kB / 1.202 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7712/1.867, allocations: 87.69 MB / 1.288 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/1.867, allocations: 115.2 kB / 1.288 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/1.867, allocations: 148.8 kB / 1.288 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/1.869, allocations: 1.54 MB / 1.289 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.869, allocations: 0 / 1.289 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.869, allocations: 52 kB / 1.289 GB, free: 213 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.869, allocations: 32 kB / 1.289 GB, free: 213 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.872, allocations: 1.61 MB / 1.291 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/1.889, allocations: 24.08 MB / 1.314 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/1.892, allocations: 1.438 MB / 1.316 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/1.893, allocations: 0.8885 MB / 1.317 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.334e-05/1.893, allocations: 33.17 kB / 1.317 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/1.894, allocations: 0.9515 MB / 1.318 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 5.861e-06/1.894, allocations: 0 / 1.318 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004632/1.899, allocations: 2.757 MB / 1.32 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/1.899, allocations: 330.5 kB / 1.321 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08127/1.98, allocations: 99.68 MB / 1.418 GB, free: 81.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004571/1.981, allocations: 57.7 kB / 1.418 GB, free: 81.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/1.982, allocations: 1.093 MB / 1.419 GB, free: 80.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.982, allocations: 346.7 kB / 1.419 GB, free: 79.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/1.983, allocations: 366.8 kB / 1.42 GB, free: 79.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.983, allocations: 305.1 kB / 1.42 GB, free: 79.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.984, allocations: 1.195 MB / 1.421 GB, free: 77.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.986, allocations: 1.416 MB / 1.423 GB, free: 76.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/1.988, allocations: 2.586 MB / 1.425 GB, free: 73.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/1.988, allocations: 0 / 1.425 GB, free: 73.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004784/1.993, allocations: 3.209 MB / 1.428 GB, free: 70.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.993, allocations: 153.6 kB / 1.428 GB, free: 70.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.993, allocations: 0 / 1.428 GB, free: 70.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.993, allocations: 12 kB / 1.428 GB, free: 70.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.994, allocations: 307.9 kB / 1.429 GB, free: 70.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/1.994, allocations: 16 kB / 1.429 GB, free: 70.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.996, allocations: 325.7 kB / 1.429 GB, free: 69.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.996, allocations: 71.97 kB / 1.429 GB, free: 69.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001431/1.998, allocations: 1.039 MB / 1.43 GB, free: 68.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007207/1.998, allocations: 240.9 kB / 1.43 GB, free: 68.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/2.002, allocations: 2.518 MB / 1.433 GB, free: 65.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/2.002, allocations: 8 kB / 1.433 GB, free: 65.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/2.002, allocations: 0 / 1.433 GB, free: 65.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/2.002, allocations: 7.922 kB / 1.433 GB, free: 65.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/2.004, allocations: 2.021 MB / 1.435 GB, free: 63.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/2.004, allocations: 0 / 1.435 GB, free: 63.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/2.004, allocations: 163.8 kB / 1.435 GB, free: 63.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/2.004, allocations: 4 kB / 1.435 GB, free: 63.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/2.004, allocations: 39.97 kB / 1.435 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/2.004, allocations: 0 / 1.435 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.004, allocations: 4 kB / 1.435 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/2.008, allocations: 2.339 MB / 1.437 GB, free: 61.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/2.009, allocations: 0.7986 MB / 1.438 GB, free: 60.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/2.009, allocations: 35.84 kB / 1.438 GB, free: 60.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/2.01, allocations: 179.9 kB / 1.438 GB, free: 60.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/2.01, allocations: 84.88 kB / 1.438 GB, free: 60.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/2.01, allocations: 55.91 kB / 1.438 GB, free: 59.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05562/2.066, allocations: 79.56 MB / 1.516 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.1e-07/2.066, allocations: 4 kB / 1.516 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004275/2.07, allocations: 1.074 MB / 1.517 GB, free: 11.39 MB / 1.029 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008781/2.079, allocations: 3.736 MB / 1.521 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007032/2.086, allocations: 3.982 MB / 1.525 GB, free: 3.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/2.086, allocations: 0 / 1.525 GB, free: 3.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/2.088, allocations: 1.528 MB / 1.526 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/2.092, allocations: 423 kB / 1.527 GB, free: 1.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.92/3.012, allocations: 416.8 MB / 1.934 GB, free: 246.7 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/3.013, allocations: 1.781 MB / 1.935 GB, free: 244.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001952/3.015, allocations: 0.7782 MB / 1.936 GB, free: 244.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/3.016, allocations: 1.144 MB / 1.937 GB, free: 243.1 MB / 1.217 GB Notification: Performance of SimCode: time 8.11e-07/3.016, allocations: 3.969 kB / 1.937 GB, free: 243.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/3.211, allocations: 111.5 MB / 2.046 GB, free: 132.9 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/12.06, allocations: 6.609 kB / 2.046 GB, free: 132.9 MB / 1.217 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)