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.004055/0.004055, allocations: 99.45 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.001073/0.001073, allocations: 191.9 kB / 16.67 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.28 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1213, allocations: 80.92 MB / 0.6642 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005589/0.127, allocations: 4.409 MB / 0.6685 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4239/0.5508, allocations: 150.7 MB / 0.8156 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.5515, allocations: 16.69 kB / 0.8156 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.5521, allocations: 183.6 kB / 0.8158 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.5534, allocations: 490.9 kB / 0.8163 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.5551, allocations: 0.9064 MB / 0.8171 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000954/0.5561, allocations: 1.372 MB / 0.8185 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.557, allocations: 0.7837 MB / 0.8192 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.5575, allocations: 0.54 MB / 0.8198 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.558, allocations: 0.5687 MB / 0.8203 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.5581, allocations: 128.8 kB / 0.8205 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.5588, allocations: 0.5091 MB / 0.8209 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.5591, allocations: 337.4 kB / 0.8213 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.5596, allocations: 0.5905 MB / 0.8218 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.5612, allocations: 1.758 MB / 0.8236 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5612, allocations: 7.75 kB / 0.8236 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5612, allocations: 0 / 0.8236 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.5613, allocations: 0 / 0.8236 GB, free: 4.605 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.002635/0.5639, allocations: 1.599 MB / 0.8251 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5639, allocations: 10.64 kB / 0.8251 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.5641, allocations: 162 kB / 0.8253 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.5696, allocations: 0.7607 MB / 0.826 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.5708, allocations: 0.8057 MB / 0.8268 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.5708, allocations: 75.34 kB / 0.8269 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.571, allocations: 103.6 kB / 0.827 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.574, allocations: 1.372 MB / 0.8283 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.5741, allocations: 0 / 0.8283 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.5742, allocations: 42.28 kB / 0.8284 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.5742, allocations: 24.78 kB / 0.8284 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.5788, allocations: 1.841 MB / 0.8302 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.5844, allocations: 3.101 MB / 0.8332 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5877, allocations: 1.282 MB / 0.8345 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.5892, allocations: 0.5652 MB / 0.835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.5899, allocations: 481.8 kB / 0.8355 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.5917, allocations: 0.734 MB / 0.8362 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 2.485e-06/0.5917, allocations: 0 / 0.8362 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.005943/0.5977, allocations: 1.851 MB / 0.838 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.5978, allocations: 191.3 kB / 0.8382 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.5984, allocations: 0.6027 MB / 0.8388 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.5985, allocations: 46.17 kB / 0.8388 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.5988, allocations: 436.1 kB / 0.8392 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.5991, allocations: 353 kB / 0.8396 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.5994, allocations: 173.8 kB / 0.8397 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5996, allocations: 392.7 kB / 0.8401 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.601, allocations: 458 kB / 0.8406 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.6025, allocations: 0.5665 MB / 0.8411 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.6054, allocations: 1.002 MB / 0.8421 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6054, allocations: 2.781 kB / 0.8421 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003809/0.6092, allocations: 1.249 MB / 0.8433 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6093, allocations: 4 kB / 0.8433 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6093, allocations: 0 / 0.8433 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.6099, allocations: 87.27 kB / 0.8434 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.6113, allocations: 247.6 kB / 0.8436 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.6134, allocations: 1.631 MB / 0.8452 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.6146, allocations: 143.3 kB / 0.8454 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.6147, allocations: 39.97 kB / 0.8454 GB, free: 5.148 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.0004028/0.6151, allocations: 272.5 kB / 0.8457 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.6153, allocations: 91.44 kB / 0.8458 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.6199, allocations: 1.575 MB / 0.8473 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6199, allocations: 12 kB / 0.8473 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6199, allocations: 0 / 0.8473 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6199, allocations: 3.984 kB / 0.8473 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.6259, allocations: 2.742 MB / 0.85 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6259, allocations: 4 kB / 0.85 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.6273, allocations: 251.6 kB / 0.8502 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.6278, allocations: 68.78 kB / 0.8503 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.6278, allocations: 31.97 kB / 0.8503 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.6297, allocations: 1.659 MB / 0.8519 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6297, allocations: 0 / 0.8519 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.6337, allocations: 1.439 MB / 0.8533 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.6341, allocations: 300.1 kB / 0.8536 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6343, allocations: 27.47 kB / 0.8537 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6355, allocations: 111.9 kB / 0.8538 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6356, allocations: 80.83 kB / 0.8538 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/0.6357, allocations: 39.97 kB / 0.8539 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005087/0.6362, allocations: 447 kB / 0.8543 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6362, allocations: 0 / 0.8543 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009141/0.6372, allocations: 362.9 kB / 0.8547 GB, free: 11.41 MB / 0.6231 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.00547/0.6426, allocations: 2.509 MB / 0.8571 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.6463, allocations: 1.276 MB / 0.8584 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6463, allocations: 0 / 0.8584 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6482, allocations: 0.7773 MB / 0.8591 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.6495, allocations: 290.9 kB / 0.8594 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.6665, allocations: 7.843 MB / 0.867 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.6671, allocations: 1.06 MB / 0.8681 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001183/0.6683, allocations: 331.2 kB / 0.8684 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007563/0.6691, allocations: 431.2 kB / 0.8688 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6691, allocations: 0 / 0.8688 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.7165, allocations: 24.06 MB / 0.8923 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.83, allocations: 15.5 kB / 0.8923 GB, free: 5.098 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)