Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_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.001764/0.001764, allocations: 108 kB / 15.61 MB, free: 152 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.001751/0.001751, allocations: 194.2 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 64.42 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3479, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009315/0.3572, allocations: 7.006 MB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.5285, allocations: 155.6 MB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.5302, allocations: 27.88 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005254/0.5356, allocations: 1.821 MB / 1.213 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.5389, allocations: 0.874 MB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.5419, allocations: 1.021 MB / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004411/0.5463, allocations: 3.653 MB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.548, allocations: 0.929 MB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.5502, allocations: 1.177 MB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.5522, allocations: 1.071 MB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006785/0.5529, allocations: 200 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006066/0.559, allocations: 2.212 MB / 1.224 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.5619, allocations: 1.419 MB / 1.226 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.5668, allocations: 1.508 MB / 1.227 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.5811, allocations: 5.614 MB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.5812, allocations: 4 kB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5812, allocations: 0 / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001851/0.5814, allocations: 0 / 1.233 GB, free: 15.43 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01223/0.5937, allocations: 4.193 MB / 1.237 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.5937, allocations: 8.625 kB / 1.237 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005221/0.5943, allocations: 198.2 kB / 1.237 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.5963, allocations: 345.1 kB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7244/1.321, allocations: 87.69 MB / 1.323 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.321, allocations: 110.4 kB / 1.323 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/1.321, allocations: 155.8 kB / 1.323 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.324, allocations: 1.545 MB / 1.325 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.324, allocations: 0 / 1.325 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/1.324, allocations: 48 kB / 1.325 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/1.324, allocations: 28 kB / 1.325 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/1.326, allocations: 1.613 MB / 1.326 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/1.343, allocations: 24.08 MB / 1.35 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/1.345, allocations: 1.433 MB / 1.351 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/1.346, allocations: 0.8902 MB / 1.352 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/1.346, allocations: 33.17 kB / 1.352 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/1.347, allocations: 0.9521 MB / 1.353 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.925e-06/1.347, allocations: 0 / 1.353 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004417/1.352, allocations: 2.753 MB / 1.356 GB, free: 112 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.352, allocations: 326.5 kB / 1.356 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0775/1.429, allocations: 99.7 MB / 1.453 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/1.43, allocations: 57.7 kB / 1.454 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009397/1.431, allocations: 1.093 MB / 1.455 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/1.431, allocations: 335.1 kB / 1.455 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/1.431, allocations: 363.4 kB / 1.455 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/1.431, allocations: 312.9 kB / 1.456 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.433, allocations: 1.195 MB / 1.457 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.434, allocations: 1.42 MB / 1.458 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/1.437, allocations: 2.582 MB / 1.461 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.437, allocations: 4 kB / 1.461 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004369/1.441, allocations: 3.208 MB / 1.464 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.441, allocations: 153.6 kB / 1.464 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.441, allocations: 4 kB / 1.464 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.441, allocations: 10.91 kB / 1.464 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.442, allocations: 311.5 kB / 1.464 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.442, allocations: 11.94 kB / 1.464 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.444, allocations: 334.7 kB / 1.465 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.444, allocations: 63.98 kB / 1.465 GB, free: 368 kB / 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.001303/1.445, allocations: 1.037 MB / 1.466 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/1.446, allocations: 232.9 kB / 1.466 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/1.45, allocations: 2.528 MB / 1.468 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.45, allocations: 9.219 kB / 1.468 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.45, allocations: 4 kB / 1.468 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.45, allocations: 7.922 kB / 1.468 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/1.452, allocations: 2.013 MB / 1.47 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.452, allocations: 0 / 1.47 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/1.453, allocations: 155.8 kB / 1.47 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/1.453, allocations: 4 kB / 1.47 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/1.453, allocations: 39.95 kB / 1.471 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.453, allocations: 8 kB / 1.471 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.453, allocations: 0 / 1.471 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/1.456, allocations: 2.339 MB / 1.473 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.458, allocations: 0.798 MB / 1.474 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/1.458, allocations: 31.84 kB / 1.474 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.459, allocations: 195.2 kB / 1.474 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/1.46, allocations: 76.89 kB / 1.474 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.46, allocations: 55.91 kB / 1.474 GB, free: 6.723 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.06805/1.528, allocations: 79.56 MB / 1.552 GB, free: 7.137 MB / 1.092 GB Notification: Performance of sort global known variables: time 6.71e-07/1.528, allocations: 1.203 kB / 1.552 GB, free: 7.137 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003541/1.531, allocations: 1.073 MB / 1.553 GB, free: 6.141 MB / 1.092 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.007033/1.538, allocations: 3.742 MB / 1.556 GB, free: 2.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005071/1.544, allocations: 3.985 MB / 1.56 GB, free: 14.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.544, allocations: 4 kB / 1.56 GB, free: 14.65 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.545, allocations: 1.532 MB / 1.562 GB, free: 13.11 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.548, allocations: 424.1 kB / 1.562 GB, free: 12.72 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9127/2.46, allocations: 416.8 MB / 1.969 GB, free: 212.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/2.461, allocations: 1.788 MB / 1.971 GB, free: 210.5 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002484/2.464, allocations: 0.7734 MB / 1.972 GB, free: 209.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/2.466, allocations: 1.14 MB / 1.973 GB, free: 208.7 MB / 1.248 GB Notification: Performance of SimCode: time 1.974e-06/2.466, allocations: 0 / 1.973 GB, free: 208.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2069/2.673, allocations: 111.5 MB / 2.082 GB, free: 98.41 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.285/11.96, allocations: 7.859 kB / 2.082 GB, free: 98.4 MB / 1.248 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)