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.002219/0.002219, 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.002588/0.002588, 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 3.434/3.434, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.937/5.937, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002806, allocations: 63.64 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7855, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.02829/0.8139, allocations: 6.968 MB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.3848/1.199, allocations: 153.4 MB / 1.209 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/1.202, allocations: 19.88 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01575/1.218, allocations: 1.662 MB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006517/1.224, allocations: 0.799 MB / 1.211 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008789/1.233, allocations: 0.9204 MB / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02399/1.257, allocations: 3.672 MB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/1.26, allocations: 0.9212 MB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/1.264, allocations: 1.223 MB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/1.268, allocations: 1.094 MB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009309/1.269, allocations: 200 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007472/1.276, allocations: 2.22 MB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002964/1.279, allocations: 1.427 MB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004707/1.284, allocations: 1.508 MB / 1.224 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02359/1.308, allocations: 5.618 MB / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/1.308, allocations: 0 / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.108e-06/1.308, allocations: 0 / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002318/1.308, allocations: 0 / 1.23 GB, free: 2.328 MB / 0.9825 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.03355/1.342, allocations: 4.197 MB / 1.234 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001091/1.342, allocations: 12.62 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/1.343, allocations: 186.2 kB / 1.234 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/1.347, allocations: 353.1 kB / 1.234 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.444/2.791, allocations: 87.69 MB / 1.32 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/2.791, allocations: 114.4 kB / 1.32 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009261/2.792, allocations: 153.8 kB / 1.32 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/2.797, allocations: 1.545 MB / 1.322 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/2.797, allocations: 0 / 1.322 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/2.797, allocations: 56 kB / 1.322 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/2.798, allocations: 32 kB / 1.322 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/2.802, allocations: 1.61 MB / 1.323 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/2.839, allocations: 24.07 MB / 1.347 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/2.844, allocations: 1.438 MB / 1.348 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/2.846, allocations: 0.8902 MB / 1.349 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/2.846, allocations: 37.09 kB / 1.349 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002468/2.849, allocations: 0.9514 MB / 1.35 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 7.064e-06/2.849, allocations: 0 / 1.35 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.01026/2.859, allocations: 2.753 MB / 1.353 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002693/2.859, allocations: 326.5 kB / 1.353 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1875/3.047, allocations: 99.68 MB / 1.451 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007471/3.048, allocations: 61.7 kB / 1.451 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/3.05, allocations: 1.097 MB / 1.452 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/3.051, allocations: 331.2 kB / 1.452 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008612/3.052, allocations: 367.4 kB / 1.452 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/3.052, allocations: 312.2 kB / 1.453 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/3.054, allocations: 1.195 MB / 1.454 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/3.057, allocations: 1.421 MB / 1.455 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/3.062, allocations: 2.582 MB / 1.458 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/3.062, allocations: 5.5 kB / 1.458 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009272/3.071, allocations: 3.208 MB / 1.461 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000231/3.072, allocations: 149.6 kB / 1.461 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/3.072, allocations: 4 kB / 1.461 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-05/3.072, allocations: 8 kB / 1.461 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/3.074, allocations: 315.5 kB / 1.461 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.835e-05/3.074, allocations: 8 kB / 1.461 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/3.078, allocations: 343.8 kB / 1.462 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/3.079, allocations: 67.97 kB / 1.462 GB, free: 3.898 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.003121/3.082, allocations: 1.034 MB / 1.463 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/3.084, allocations: 240.7 kB / 1.463 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/3.092, allocations: 2.525 MB / 1.465 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/3.092, allocations: 8 kB / 1.465 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/3.092, allocations: 2.406 kB / 1.465 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/3.092, allocations: 11.92 kB / 1.465 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/3.1, allocations: 2.009 MB / 1.467 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/3.1, allocations: 0 / 1.467 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/3.101, allocations: 163.7 kB / 1.468 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.324e-05/3.101, allocations: 4.562 kB / 1.468 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/3.102, allocations: 39.97 kB / 1.468 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/3.102, allocations: 4 kB / 1.468 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/3.102, allocations: 0 / 1.468 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0093/3.111, allocations: 2.339 MB / 1.47 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003888/3.115, allocations: 0.798 MB / 1.471 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/3.117, allocations: 31.91 kB / 1.471 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004715/3.122, allocations: 187 kB / 1.471 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/3.122, allocations: 85.44 kB / 1.471 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/3.123, allocations: 59.91 kB / 1.471 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.147/3.27, allocations: 79.56 MB / 1.549 GB, free: 10.67 MB / 1.092 GB Notification: Performance of sort global known variables: time 6.262e-06/3.27, allocations: 0 / 1.549 GB, free: 10.67 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.007422/3.277, allocations: 1.083 MB / 1.55 GB, free: 9.59 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.01651/3.294, allocations: 3.734 MB / 1.553 GB, free: 6.039 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01985/3.314, allocations: 3.985 MB / 1.557 GB, free: 2.039 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/3.314, allocations: 0 / 1.557 GB, free: 2.039 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/3.318, allocations: 1.528 MB / 1.559 GB, free: 0.5 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006038/3.324, allocations: 419.8 kB / 1.559 GB, free: 112 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.894/5.218, allocations: 417.4 MB / 1.967 GB, free: 216.5 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/5.221, allocations: 1.786 MB / 1.969 GB, free: 214.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00417/5.225, allocations: 0.7697 MB / 1.969 GB, free: 214.1 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00329/5.228, allocations: 1.15 MB / 1.97 GB, free: 212.9 MB / 1.248 GB Notification: Performance of SimCode: time 2.605e-06/5.228, allocations: 0 / 1.97 GB, free: 212.9 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5128/5.741, allocations: 111.2 MB / 2.079 GB, free: 102.9 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/5.741, allocations: 285.9 kB / 2.079 GB, free: 102.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.983/14.72, allocations: 3.625 kB / 2.079 GB, free: 102.5 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)