Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_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.01133/0.01133, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002909/0.002909, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6849/0.6849, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 66.28 kB / 0.5808 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 80.22 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005036/0.1177, allocations: 4.409 MB / 0.6635 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3824/0.5001, allocations: 150.7 MB / 0.8106 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.5007, allocations: 20.84 kB / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.5012, allocations: 173 kB / 0.8108 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.5023, allocations: 495.3 kB / 0.8113 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.5037, allocations: 0.8892 MB / 0.8121 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.5045, allocations: 1.379 MB / 0.8135 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.5053, allocations: 0.7823 MB / 0.8143 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.5057, allocations: 0.5239 MB / 0.8148 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.5061, allocations: 0.5768 MB / 0.8153 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5063, allocations: 134.2 kB / 0.8155 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.5068, allocations: 0.5049 MB / 0.816 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.507, allocations: 331.8 kB / 0.8163 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.5074, allocations: 0.6004 MB / 0.8169 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.5086, allocations: 1.745 MB / 0.8186 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5086, allocations: 0 / 0.8186 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5086, allocations: 2.469 kB / 0.8186 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5086, allocations: 0 / 0.8186 GB, free: 9.176 MB / 0.5919 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.002235/0.5109, allocations: 1.564 MB / 0.8201 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.5109, allocations: 14.77 kB / 0.8201 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.5111, allocations: 158.9 kB / 0.8203 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.5158, allocations: 0.7483 MB / 0.821 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5168, allocations: 0.8022 MB / 0.8218 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.5169, allocations: 85.77 kB / 0.8218 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.517, allocations: 101.7 kB / 0.8219 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.5196, allocations: 1.369 MB / 0.8233 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5196, allocations: 0 / 0.8233 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/0.5197, allocations: 41.56 kB / 0.8233 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5198, allocations: 29.62 kB / 0.8234 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.5238, allocations: 1.835 MB / 0.8251 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.5286, allocations: 3.084 MB / 0.8282 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.5315, allocations: 1.285 MB / 0.8294 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.5328, allocations: 0.5647 MB / 0.83 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.5333, allocations: 478.5 kB / 0.8304 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.5349, allocations: 0.7339 MB / 0.8311 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=100): time 2.114e-06/0.5349, allocations: 3.938 kB / 0.8311 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100): time 0.005233/0.5401, allocations: 1.851 MB / 0.8329 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.5402, allocations: 191 kB / 0.8331 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.5408, allocations: 0.6124 MB / 0.8337 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.278e-05/0.5409, allocations: 46.02 kB / 0.8338 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.5411, allocations: 419.1 kB / 0.8342 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5414, allocations: 335.8 kB / 0.8345 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5416, allocations: 171.3 kB / 0.8347 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5418, allocations: 387.2 kB / 0.835 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.543, allocations: 461.6 kB / 0.8355 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.5444, allocations: 0.5749 MB / 0.836 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.5469, allocations: 0.9946 MB / 0.837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5469, allocations: 2.562 kB / 0.837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003296/0.5502, allocations: 1.25 MB / 0.8382 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5503, allocations: 5.844 kB / 0.8382 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5503, allocations: 2.906 kB / 0.8382 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.5508, allocations: 86.3 kB / 0.8383 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.552, allocations: 241.4 kB / 0.8385 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.5537, allocations: 1.631 MB / 0.8401 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/0.5547, allocations: 147.5 kB / 0.8403 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.5548, allocations: 37.12 kB / 0.8403 GB, free: 10.65 MB / 0.6075 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.0003503/0.5551, allocations: 276.8 kB / 0.8406 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.5553, allocations: 84 kB / 0.8407 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.5593, allocations: 1.576 MB / 0.8422 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.5593, allocations: 16 kB / 0.8422 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5593, allocations: 0 / 0.8422 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5593, allocations: 7.969 kB / 0.8422 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/0.5646, allocations: 2.741 MB / 0.8449 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5646, allocations: 0 / 0.8449 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.5658, allocations: 251.6 kB / 0.8451 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.5662, allocations: 76.78 kB / 0.8452 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.5663, allocations: 27.98 kB / 0.8452 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.5679, allocations: 1.658 MB / 0.8468 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5679, allocations: 1.875 kB / 0.8469 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.5714, allocations: 1.439 MB / 0.8483 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.5718, allocations: 295.6 kB / 0.8485 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5719, allocations: 24 kB / 0.8486 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.573, allocations: 114.1 kB / 0.8487 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5731, allocations: 76.83 kB / 0.8487 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.5732, allocations: 39.97 kB / 0.8488 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004432/0.5736, allocations: 447 kB / 0.8492 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5736, allocations: 0 / 0.8492 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007593/0.5744, allocations: 359 kB / 0.8495 GB, free: 1.195 MB / 0.6075 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.004772/0.5792, allocations: 2.5 MB / 0.852 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.5823, allocations: 1.273 MB / 0.8532 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5823, allocations: 0 / 0.8532 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.584, allocations: 0.7803 MB / 0.854 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5851, allocations: 303.3 kB / 0.8543 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.5997, allocations: 7.793 MB / 0.8619 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6002, allocations: 1.059 MB / 0.8629 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009759/0.6012, allocations: 323.2 kB / 0.8632 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.6018, allocations: 427.2 kB / 0.8636 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6018, allocations: 0 / 0.8636 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9389/1.541, allocations: 24.07 MB / 0.8872 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.97, allocations: 4.922 kB / 0.8872 GB, free: 10.99 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)