Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.007421/0.007421, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001878/0.001878, allocations: 196 kB / 16.68 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 283 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 104.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1564, allocations: 86.96 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006335/0.1628, allocations: 4.65 MB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.458/0.6208, allocations: 150.8 MB / 0.9177 GB, free: 7.453 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.6215, allocations: 15.94 kB / 0.9177 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.622, allocations: 184.8 kB / 0.9178 GB, free: 7.258 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.6235, allocations: 0.5208 MB / 0.9184 GB, free: 6.754 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.6254, allocations: 0.927 MB / 0.9193 GB, free: 5.852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.6269, allocations: 1.505 MB / 0.9207 GB, free: 4.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6279, allocations: 0.7903 MB / 0.9215 GB, free: 3.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.6285, allocations: 0.5761 MB / 0.9221 GB, free: 2.938 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.6293, allocations: 0.6224 MB / 0.9227 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.6295, allocations: 140 kB / 0.9228 GB, free: 2.176 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.6303, allocations: 0.5268 MB / 0.9233 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.6306, allocations: 358.9 kB / 0.9237 GB, free: 1.297 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00057/0.6312, allocations: 0.6529 MB / 0.9243 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.6332, allocations: 1.885 MB / 0.9261 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6332, allocations: 0 / 0.9261 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6332, allocations: 4 kB / 0.9261 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6332, allocations: 0 / 0.9261 GB, free: 14.75 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003058/0.6363, allocations: 1.701 MB / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6364, allocations: 12.03 kB / 0.9278 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.6366, allocations: 165.1 kB / 0.928 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.6418, allocations: 0.763 MB / 0.9287 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.6431, allocations: 0.8443 MB / 0.9295 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.6432, allocations: 82.2 kB / 0.9296 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.6433, allocations: 104 kB / 0.9297 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.6466, allocations: 1.437 MB / 0.9311 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6466, allocations: 0 / 0.9311 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.6467, allocations: 44 kB / 0.9312 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.6468, allocations: 28 kB / 0.9312 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.6515, allocations: 1.889 MB / 0.933 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006075/0.6576, allocations: 3.252 MB / 0.9362 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.6609, allocations: 1.368 MB / 0.9376 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.6624, allocations: 0.6076 MB / 0.9381 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.6631, allocations: 478.5 kB / 0.9386 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.6649, allocations: 0.8049 MB / 0.9394 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 2.575e-06/0.665, allocations: 4 kB / 0.9394 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109): time 0.006063/0.671, allocations: 1.966 MB / 0.9413 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.6712, allocations: 200.5 kB / 0.9415 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.672, allocations: 0.6489 MB / 0.9421 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.6721, allocations: 45.7 kB / 0.9422 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.6725, allocations: 453.4 kB / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.6728, allocations: 368.8 kB / 0.943 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/0.6731, allocations: 190.5 kB / 0.9431 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6733, allocations: 394.7 kB / 0.9435 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.6748, allocations: 489.7 kB / 0.944 GB, free: 12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.6764, allocations: 0.6086 MB / 0.9446 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.6793, allocations: 1.058 MB / 0.9456 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.6793, allocations: 1.375 kB / 0.9456 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003841/0.6832, allocations: 1.333 MB / 0.9469 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6832, allocations: 5.875 kB / 0.9469 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6832, allocations: 0 / 0.9469 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.6838, allocations: 84.91 kB / 0.947 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6852, allocations: 259.6 kB / 0.9473 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.6874, allocations: 1.636 MB / 0.9489 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.6886, allocations: 155.4 kB / 0.949 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.6887, allocations: 47.91 kB / 0.949 GB, free: 6.621 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.6892, allocations: 293.5 kB / 0.9493 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.6894, allocations: 99.33 kB / 0.9494 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.694, allocations: 1.671 MB / 0.9511 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.694, allocations: 19.98 kB / 0.9511 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.694, allocations: 0 / 0.9511 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.694, allocations: 3.984 kB / 0.9511 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.7001, allocations: 2.844 MB / 0.9539 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7002, allocations: 0 / 0.9539 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.7015, allocations: 259.6 kB / 0.9541 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.702, allocations: 68.8 kB / 0.9542 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.7021, allocations: 39.95 kB / 0.9542 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.7041, allocations: 1.666 MB / 0.9558 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7041, allocations: 5.062 kB / 0.9558 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.708, allocations: 1.537 MB / 0.9573 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.7085, allocations: 324 kB / 0.9576 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7087, allocations: 24 kB / 0.9577 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.7098, allocations: 119.9 kB / 0.9578 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.71, allocations: 84.88 kB / 0.9579 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7101, allocations: 47.97 kB / 0.9579 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006082/0.7108, allocations: 475 kB / 0.9584 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7108, allocations: 0 / 0.9584 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001097/0.7119, allocations: 387 kB / 0.9587 GB, free: 12.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006173/0.7181, allocations: 2.62 MB / 0.9613 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003663/0.7217, allocations: 1.355 MB / 0.9626 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7217, allocations: 0 / 0.9626 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.7237, allocations: 0.8202 MB / 0.9634 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7251, allocations: 301 kB / 0.9637 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.7427, allocations: 8.341 MB / 0.9718 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.7435, allocations: 1.08 MB / 0.9729 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001229/0.7447, allocations: 339.6 kB / 0.9732 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/0.7455, allocations: 475.2 kB / 0.9737 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7455, allocations: 0 / 0.9737 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5544/1.3, allocations: 25.53 MB / 0.9986 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.92, allocations: 4.5 kB / 0.9986 GB, free: 3.98 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)