Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_11_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.00456/0.00456, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001291/0.001291, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.263/1.263, 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 11.1.0-maint.11.x/package.mo): time 2.501/2.501, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.253, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00786/0.2609, allocations: 6.998 MB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6153/0.8761, allocations: 155.6 MB / 1.379 GB, free: 6.176 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.8771, allocations: 26 kB / 1.379 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.8811, allocations: 1.818 MB / 1.381 GB, free: 5.422 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.8831, allocations: 0.876 MB / 1.382 GB, free: 4.777 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.8851, allocations: 1.034 MB / 1.383 GB, free: 3.988 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.8881, allocations: 3.663 MB / 1.386 GB, free: 1.785 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.8892, allocations: 0.9228 MB / 1.387 GB, free: 1.207 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.8904, allocations: 1.192 MB / 1.388 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.8916, allocations: 1.066 MB / 1.389 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.8918, allocations: 199.4 kB / 1.39 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.8949, allocations: 2.241 MB / 1.392 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.896, allocations: 1.421 MB / 1.393 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.8974, allocations: 1.511 MB / 1.395 GB, free: 12.83 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.9029, allocations: 5.704 MB / 1.4 GB, free: 9.258 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.903, allocations: 4 kB / 1.4 GB, free: 9.254 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.172e-06/0.903, allocations: 0 / 1.4 GB, free: 9.254 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.292e-05/0.903, allocations: 0 / 1.4 GB, free: 9.254 MB / 1.092 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.006463/0.9095, allocations: 4.307 MB / 1.404 GB, free: 6.309 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.9095, allocations: 7.062 kB / 1.404 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.9097, allocations: 193 kB / 1.405 GB, free: 6.156 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.9107, allocations: 363.9 kB / 1.405 GB, free: 5.965 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08279/0.9935, allocations: 87.76 MB / 1.491 GB, free: 388 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9937, allocations: 118.4 kB / 1.491 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.9938, allocations: 151.9 kB / 1.491 GB, free: 116 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.9962, allocations: 1.538 MB / 1.492 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.9963, allocations: 4 kB / 1.492 GB, free: 14.51 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9964, allocations: 56 kB / 1.492 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.9964, allocations: 31.94 kB / 1.492 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.9988, allocations: 1.603 MB / 1.494 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/1.02, allocations: 24.04 MB / 1.517 GB, free: 4.598 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.022, allocations: 1.434 MB / 1.519 GB, free: 3.152 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.023, allocations: 0.8909 MB / 1.52 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/1.023, allocations: 33.03 kB / 1.52 GB, free: 2.23 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/1.025, allocations: 0.9498 MB / 1.521 GB, free: 1.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=104): time 2.495e-06/1.025, allocations: 4 kB / 1.521 GB, free: 1.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=104): time 0.004402/1.029, allocations: 2.766 MB / 1.523 GB, free: 14.49 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/1.029, allocations: 332.2 kB / 1.524 GB, free: 14.11 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1065/1.136, allocations: 99.69 MB / 1.621 GB, free: 10.39 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.136, allocations: 61.7 kB / 1.621 GB, free: 10.33 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.137, allocations: 1.104 MB / 1.622 GB, free: 9.215 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/1.138, allocations: 353.6 kB / 1.623 GB, free: 8.867 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005169/1.138, allocations: 355.5 kB / 1.623 GB, free: 8.516 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.138, allocations: 305.1 kB / 1.623 GB, free: 8.215 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.14, allocations: 1.199 MB / 1.624 GB, free: 7.016 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/1.142, allocations: 1.42 MB / 1.626 GB, free: 5.535 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/1.145, allocations: 2.594 MB / 1.628 GB, free: 2.891 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.145, allocations: 10.38 kB / 1.628 GB, free: 2.887 MB / 1.311 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004945/1.15, allocations: 3.224 MB / 1.631 GB, free: 15.64 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.15, allocations: 149.6 kB / 1.632 GB, free: 15.49 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.15, allocations: 4 kB / 1.632 GB, free: 15.49 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.15, allocations: 8.406 kB / 1.632 GB, free: 15.48 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.151, allocations: 311.6 kB / 1.632 GB, free: 15.18 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.151, allocations: 15.92 kB / 1.632 GB, free: 15.16 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.153, allocations: 328.1 kB / 1.632 GB, free: 14.84 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.153, allocations: 71.97 kB / 1.632 GB, free: 14.77 MB / 1.326 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.001313/1.154, allocations: 1.042 MB / 1.633 GB, free: 13.71 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/1.155, allocations: 250.3 kB / 1.634 GB, free: 13.46 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/1.158, allocations: 2.51 MB / 1.636 GB, free: 10.94 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.158, allocations: 12 kB / 1.636 GB, free: 10.93 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.158, allocations: 0 / 1.636 GB, free: 10.93 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.158, allocations: 11.97 kB / 1.636 GB, free: 10.91 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.161, allocations: 2.021 MB / 1.638 GB, free: 8.844 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.161, allocations: 4 kB / 1.638 GB, free: 8.84 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/1.161, allocations: 159.8 kB / 1.638 GB, free: 8.684 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.161, allocations: 7.984 kB / 1.638 GB, free: 8.676 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/1.161, allocations: 35.97 kB / 1.638 GB, free: 8.641 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.161, allocations: 11.92 kB / 1.638 GB, free: 8.629 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.161, allocations: 0 / 1.638 GB, free: 8.629 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.165, allocations: 2.348 MB / 1.64 GB, free: 6.254 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.166, allocations: 0.815 MB / 1.641 GB, free: 5.418 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/1.166, allocations: 27.98 kB / 1.641 GB, free: 5.391 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.167, allocations: 187.9 kB / 1.641 GB, free: 5.207 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.167, allocations: 80.89 kB / 1.642 GB, free: 5.129 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-05/1.168, allocations: 51.97 kB / 1.642 GB, free: 5.078 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.07108/1.239, allocations: 79.56 MB / 1.719 GB, free: 5.496 MB / 1.404 GB Notification: Performance of sort global known variables: time 9.72e-07/1.239, allocations: 0 / 1.719 GB, free: 5.496 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.002909/1.242, allocations: 1.095 MB / 1.72 GB, free: 4.398 MB / 1.404 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.006459/1.248, allocations: 3.759 MB / 1.724 GB, free: 0.7852 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.004122/1.252, allocations: 3.548 MB / 1.728 GB, free: 13.23 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.252, allocations: 0 / 1.728 GB, free: 13.23 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.254, allocations: 1.528 MB / 1.729 GB, free: 11.69 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.256, allocations: 419.1 kB / 1.729 GB, free: 11.3 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7313/1.987, allocations: 412.8 MB / 2.133 GB, free: 264.1 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/1.988, allocations: 1.785 MB / 2.134 GB, free: 262.3 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.001632/1.989, allocations: 0.7679 MB / 2.135 GB, free: 261.6 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.991, allocations: 1.149 MB / 2.136 GB, free: 260.5 MB / 1.498 GB Notification: Performance of SimCode: time 5.21e-07/1.991, allocations: 0 / 2.136 GB, free: 260.5 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.443/11.43, allocations: 112.2 MB / 2.246 GB, free: 149.4 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/25.88, allocations: 18.41 kB / 2.246 GB, free: 149.4 MB / 1.498 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)