Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 193 kB / 16.13 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 60.56 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1312, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005322/0.1366, allocations: 4.416 MB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3304/0.467, allocations: 148.3 MB / 0.733 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.4676, allocations: 15.34 kB / 0.733 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.4681, allocations: 139.8 kB / 0.7331 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4692, allocations: 412.8 kB / 0.7335 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4708, allocations: 0.7786 MB / 0.7343 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.4718, allocations: 1.274 MB / 0.7355 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.4727, allocations: 0.7596 MB / 0.7363 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/0.4732, allocations: 465.7 kB / 0.7367 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.4738, allocations: 0.551 MB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4739, allocations: 68.88 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.4746, allocations: 434.7 kB / 0.7377 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4748, allocations: 266.3 kB / 0.738 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.4752, allocations: 0.5412 MB / 0.7385 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.4765, allocations: 1.651 MB / 0.7401 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4765, allocations: 0 / 0.7401 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4765, allocations: 1.5 kB / 0.7401 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.4765, allocations: 0 / 0.7401 GB, free: 10.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002481/0.479, allocations: 1.568 MB / 0.7417 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4791, allocations: 9.5 kB / 0.7417 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4792, allocations: 160.5 kB / 0.7418 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.4843, allocations: 0.7499 MB / 0.7426 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009681/0.4853, allocations: 0.7772 MB / 0.7433 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.4854, allocations: 80.86 kB / 0.7434 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4855, allocations: 99.72 kB / 0.7435 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.4883, allocations: 1.368 MB / 0.7448 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4883, allocations: 4 kB / 0.7448 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.4884, allocations: 43.31 kB / 0.7449 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4884, allocations: 24.25 kB / 0.7449 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.4925, allocations: 1.841 MB / 0.7467 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.4978, allocations: 3.13 MB / 0.7498 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.5007, allocations: 1.271 MB / 0.751 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.5021, allocations: 0.5671 MB / 0.7516 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.5027, allocations: 486.6 kB / 0.752 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/0.5044, allocations: 0.737 MB / 0.7527 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.465e-06/0.5044, allocations: 0 / 0.7527 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005471/0.5099, allocations: 1.84 MB / 0.7545 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.51, allocations: 204.8 kB / 0.7547 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.5107, allocations: 0.6057 MB / 0.7553 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.5108, allocations: 41.7 kB / 0.7554 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.5111, allocations: 420.5 kB / 0.7558 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.5113, allocations: 335 kB / 0.7561 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.5116, allocations: 174.5 kB / 0.7562 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5118, allocations: 394.7 kB / 0.7566 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.5131, allocations: 453.7 kB / 0.7571 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.5145, allocations: 0.5657 MB / 0.7576 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.5171, allocations: 1.004 MB / 0.7586 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5171, allocations: 0 / 0.7586 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003368/0.5205, allocations: 1.247 MB / 0.7598 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5205, allocations: 8 kB / 0.7598 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5205, allocations: 0 / 0.7598 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.5211, allocations: 84.84 kB / 0.7599 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5223, allocations: 243.7 kB / 0.7601 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.5241, allocations: 1.526 MB / 0.7616 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.5251, allocations: 146.4 kB / 0.7618 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.5252, allocations: 45.12 kB / 0.7618 GB, free: 6.219 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0003942/0.5256, allocations: 268.5 kB / 0.7621 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.5258, allocations: 86.97 kB / 0.7621 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.5305, allocations: 1.585 MB / 0.7637 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.5306, allocations: 12 kB / 0.7637 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5306, allocations: 0 / 0.7637 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5306, allocations: 3.984 kB / 0.7637 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.5372, allocations: 2.726 MB / 0.7664 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5372, allocations: 0 / 0.7664 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.5384, allocations: 255.6 kB / 0.7666 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.5389, allocations: 84.75 kB / 0.7667 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/0.539, allocations: 27.98 kB / 0.7667 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.5407, allocations: 1.544 MB / 0.7682 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5407, allocations: 3.75 kB / 0.7682 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.5441, allocations: 1.433 MB / 0.7696 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.5445, allocations: 299.6 kB / 0.7699 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.5447, allocations: 23.98 kB / 0.7699 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5457, allocations: 111.9 kB / 0.77 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.5459, allocations: 72.89 kB / 0.7701 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/0.546, allocations: 43.97 kB / 0.7702 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004797/0.5465, allocations: 451 kB / 0.7706 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5465, allocations: 0 / 0.7706 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008936/0.5474, allocations: 355 kB / 0.7709 GB, free: 12.62 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004841/0.5522, allocations: 2.502 MB / 0.7734 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003055/0.5553, allocations: 1.276 MB / 0.7746 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5553, allocations: 0 / 0.7746 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.557, allocations: 0.7772 MB / 0.7754 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5581, allocations: 272.6 kB / 0.7756 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5741, allocations: 8.51 MB / 0.7839 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.5747, allocations: 1.056 MB / 0.785 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001265/0.5759, allocations: 323.2 kB / 0.7853 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/0.5766, allocations: 427.2 kB / 0.7857 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.5766, allocations: 4 kB / 0.7857 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.392/0.9686, allocations: 23.01 MB / 0.8082 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.9689, allocations: 324.1 kB / 0.8085 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.278, allocations: 1.875 kB / 0.8085 GB, free: 6.484 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)