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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.005028/0.005028, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001364/0.001364, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.517/2.517, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 71.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007712/0.2585, allocations: 7.004 MB / 1.249 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6125/0.8711, allocations: 155.6 MB / 1.401 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.872, allocations: 29.31 kB / 1.401 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.8752, allocations: 1.819 MB / 1.402 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.877, allocations: 0.8782 MB / 1.403 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.879, allocations: 1.031 MB / 1.404 GB, free: 9.391 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.8819, allocations: 3.664 MB / 1.408 GB, free: 7.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.8829, allocations: 0.9274 MB / 1.409 GB, free: 6.598 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.8841, allocations: 1.187 MB / 1.41 GB, free: 5.918 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.8852, allocations: 1.066 MB / 1.411 GB, free: 5.207 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.8855, allocations: 204.8 kB / 1.411 GB, free: 5.203 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.8884, allocations: 2.249 MB / 1.413 GB, free: 4.062 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.8894, allocations: 1.416 MB / 1.415 GB, free: 3.32 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.8908, allocations: 1.512 MB / 1.416 GB, free: 2.215 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.8956, allocations: 5.709 MB / 1.422 GB, free: 14.64 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.8956, allocations: 1.344 kB / 1.422 GB, free: 14.64 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8956, allocations: 0 / 1.422 GB, free: 14.64 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.8957, allocations: 0 / 1.422 GB, free: 14.64 MB / 1.123 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.005958/0.9016, allocations: 4.302 MB / 1.426 GB, free: 10.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.9017, allocations: 12.03 kB / 1.426 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.9019, allocations: 190.2 kB / 1.426 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.9028, allocations: 362.8 kB / 1.427 GB, free: 9.957 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07692/0.9798, allocations: 87.76 MB / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/0.9799, allocations: 114.4 kB / 1.512 GB, free: 1.984 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.9801, allocations: 148 kB / 1.513 GB, free: 1.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.9825, allocations: 1.541 MB / 1.514 GB, free: 244 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.9825, allocations: 0 / 1.514 GB, free: 244 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.9826, allocations: 52 kB / 1.514 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.9826, allocations: 28 kB / 1.514 GB, free: 164 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.985, allocations: 1.613 MB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/1.005, allocations: 24.05 MB / 1.539 GB, free: 6.312 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/1.007, allocations: 1.435 MB / 1.541 GB, free: 4.875 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.009, allocations: 0.8979 MB / 1.541 GB, free: 3.973 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/1.009, allocations: 37.02 kB / 1.541 GB, free: 3.938 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.01, allocations: 0.9498 MB / 1.542 GB, free: 2.977 MB / 1.232 GB Notification: Performance of pre-optimization done (n=104): time 3.978e-06/1.01, allocations: 0 / 1.542 GB, free: 2.977 MB / 1.232 GB Notification: Performance of matching and sorting (n=104): time 0.004175/1.014, allocations: 2.766 MB / 1.545 GB, free: 204 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/1.014, allocations: 328.3 kB / 1.545 GB, free: 15.83 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09832/1.113, allocations: 99.69 MB / 1.643 GB, free: 12.11 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.113, allocations: 61.7 kB / 1.643 GB, free: 12.05 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.114, allocations: 1.11 MB / 1.644 GB, free: 10.93 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.114, allocations: 349 kB / 1.644 GB, free: 10.58 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005227/1.115, allocations: 363.5 kB / 1.645 GB, free: 10.22 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.115, allocations: 309.1 kB / 1.645 GB, free: 9.918 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.116, allocations: 1.191 MB / 1.646 GB, free: 8.727 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.118, allocations: 1.425 MB / 1.647 GB, free: 7.242 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/1.122, allocations: 2.586 MB / 1.65 GB, free: 4.605 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.122, allocations: 5.188 kB / 1.65 GB, free: 4.602 MB / 1.342 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004537/1.126, allocations: 3.224 MB / 1.653 GB, free: 1.359 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.126, allocations: 149.6 kB / 1.653 GB, free: 1.207 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.126, allocations: 4 kB / 1.653 GB, free: 1.203 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.126, allocations: 8 kB / 1.653 GB, free: 1.195 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.127, allocations: 315.5 kB / 1.654 GB, free: 0.8867 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/1.127, allocations: 8 kB / 1.654 GB, free: 0.8789 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.129, allocations: 339.8 kB / 1.654 GB, free: 0.5469 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.129, allocations: 64.55 kB / 1.654 GB, free: 496 kB / 1.342 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.001178/1.13, allocations: 1.043 MB / 1.655 GB, free: 15.42 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/1.13, allocations: 246.3 kB / 1.655 GB, free: 15.18 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/1.134, allocations: 2.526 MB / 1.658 GB, free: 12.63 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.134, allocations: 12 kB / 1.658 GB, free: 12.62 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.134, allocations: 0 / 1.658 GB, free: 12.62 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.134, allocations: 3.984 kB / 1.658 GB, free: 12.62 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/1.136, allocations: 2.025 MB / 1.66 GB, free: 10.54 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.136, allocations: 0 / 1.66 GB, free: 10.54 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/1.137, allocations: 155.7 kB / 1.66 GB, free: 10.39 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.137, allocations: 4 kB / 1.66 GB, free: 10.39 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.137, allocations: 43.97 kB / 1.66 GB, free: 10.34 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.137, allocations: 4 kB / 1.66 GB, free: 10.34 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.137, allocations: 0 / 1.66 GB, free: 10.34 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/1.14, allocations: 2.344 MB / 1.662 GB, free: 7.969 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.141, allocations: 0.8188 MB / 1.663 GB, free: 7.129 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/1.142, allocations: 28 kB / 1.663 GB, free: 7.102 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.143, allocations: 187.9 kB / 1.663 GB, free: 6.918 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.143, allocations: 80.89 kB / 1.663 GB, free: 6.84 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.471e-05/1.143, allocations: 51.97 kB / 1.663 GB, free: 6.789 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.06694/1.21, allocations: 79.56 MB / 1.741 GB, free: 7.199 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.3e-07/1.21, allocations: 0 / 1.741 GB, free: 7.199 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002204/1.212, allocations: 1.088 MB / 1.742 GB, free: 6.109 MB / 1.436 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.00648/1.219, allocations: 3.763 MB / 1.746 GB, free: 2.5 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.223, allocations: 3.548 MB / 1.749 GB, free: 14.94 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.223, allocations: 0.8125 kB / 1.749 GB, free: 14.94 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.224, allocations: 1.532 MB / 1.751 GB, free: 13.4 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.226, allocations: 409.2 kB / 1.751 GB, free: 13.01 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7157/1.942, allocations: 412.8 MB / 2.154 GB, free: 246.9 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009895/1.943, allocations: 1.781 MB / 2.156 GB, free: 245.1 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.001339/1.944, allocations: 0.7665 MB / 2.157 GB, free: 244.4 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.945, allocations: 1.147 MB / 2.158 GB, free: 243.3 MB / 1.514 GB Notification: Performance of SimCode: time 5.71e-07/1.945, allocations: 0 / 2.158 GB, free: 243.3 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.664/11.61, allocations: 112.2 MB / 2.267 GB, free: 132.3 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.9/42.51, allocations: 19.17 kB / 2.267 GB, free: 132.2 MB / 1.514 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=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)