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.00798/0.00798, allocations: 106.2 kB / 15.74 MB, free: 6.449 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.002264/0.002264, allocations: 196.1 kB / 16.67 MB, free: 6.355 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9699/0.9699, allocations: 135.5 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 0.5857 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 81.01 MB / 0.6649 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00468/0.3402, allocations: 4.409 MB / 0.6692 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.5138, allocations: 150.7 MB / 0.8163 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.5146, allocations: 15.94 kB / 0.8163 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.5153, allocations: 182.3 kB / 0.8165 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.5171, allocations: 491.4 kB / 0.817 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.5193, allocations: 0.892 MB / 0.8178 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.521, allocations: 1.368 MB / 0.8192 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5222, allocations: 0.7972 MB / 0.8199 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.5229, allocations: 0.5255 MB / 0.8205 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008362/0.5238, allocations: 0.5717 MB / 0.821 GB, free: 432 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.524, allocations: 128 kB / 0.8211 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.525, allocations: 0.5191 MB / 0.8216 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.5254, allocations: 331 kB / 0.822 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006359/0.5261, allocations: 0.5945 MB / 0.8225 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.5283, allocations: 1.752 MB / 0.8243 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5283, allocations: 4 kB / 0.8243 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5283, allocations: 0 / 0.8243 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.5284, allocations: 0 / 0.8243 GB, free: 13.09 MB / 0.6544 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.003145/0.5315, allocations: 1.601 MB / 0.8258 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5316, allocations: 8.031 kB / 0.8258 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.5318, allocations: 172.7 kB / 0.826 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005588/0.5374, allocations: 0.753 MB / 0.8267 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.5387, allocations: 0.8011 MB / 0.8275 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.5388, allocations: 78.09 kB / 0.8276 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.539, allocations: 100 kB / 0.8277 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.5425, allocations: 1.379 MB / 0.829 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.5425, allocations: 0 / 0.829 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.5426, allocations: 44 kB / 0.8291 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5427, allocations: 24 kB / 0.8291 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005151/0.5478, allocations: 1.838 MB / 0.8309 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006283/0.5541, allocations: 3.096 MB / 0.8339 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.5578, allocations: 1.277 MB / 0.8352 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.5595, allocations: 0.562 MB / 0.8357 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.5603, allocations: 478.6 kB / 0.8362 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.5623, allocations: 0.7425 MB / 0.8369 GB, free: 15.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=100): time 2.545e-06/0.5623, allocations: 0 / 0.8369 GB, free: 15.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=100): time 0.006505/0.5688, allocations: 1.841 MB / 0.8387 GB, free: 13.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.569, allocations: 200.9 kB / 0.8389 GB, free: 13.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.5698, allocations: 0.6058 MB / 0.8395 GB, free: 13.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/0.5699, allocations: 49.62 kB / 0.8395 GB, free: 13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.5703, allocations: 429.2 kB / 0.8399 GB, free: 12.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5706, allocations: 349 kB / 0.8403 GB, free: 12.23 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.571, allocations: 174.5 kB / 0.8404 GB, free: 12.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5712, allocations: 390.8 kB / 0.8408 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.5728, allocations: 457.7 kB / 0.8412 GB, free: 11.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.5745, allocations: 0.5696 MB / 0.8418 GB, free: 10.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/0.5777, allocations: 1.004 MB / 0.8428 GB, free: 9.594 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5778, allocations: 4 kB / 0.8428 GB, free: 9.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004177/0.5819, allocations: 1.247 MB / 0.844 GB, free: 8.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.582, allocations: 4 kB / 0.844 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.582, allocations: 0 / 0.844 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.5826, allocations: 84.89 kB / 0.8441 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.584, allocations: 247.6 kB / 0.8443 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.5864, allocations: 1.629 MB / 0.8459 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5876, allocations: 153.4 kB / 0.8461 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.5877, allocations: 43.97 kB / 0.8461 GB, free: 6.035 MB / 0.67 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.0004442/0.5881, allocations: 269.6 kB / 0.8464 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5883, allocations: 87.44 kB / 0.8464 GB, free: 5.676 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.5933, allocations: 1.577 MB / 0.848 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5933, allocations: 15.94 kB / 0.848 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5933, allocations: 0 / 0.848 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.5933, allocations: 7.969 kB / 0.848 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/0.5998, allocations: 2.738 MB / 0.8507 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5998, allocations: 0 / 0.8507 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6012, allocations: 247.6 kB / 0.8509 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/0.6017, allocations: 68.8 kB / 0.851 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.6018, allocations: 43.91 kB / 0.851 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.604, allocations: 1.658 MB / 0.8526 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.604, allocations: 0 / 0.8526 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.6084, allocations: 1.443 MB / 0.854 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.6089, allocations: 296.1 kB / 0.8543 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.609, allocations: 27.98 kB / 0.8544 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.6102, allocations: 111.8 kB / 0.8545 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.6104, allocations: 72.89 kB / 0.8545 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.6105, allocations: 43.97 kB / 0.8546 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006196/0.6112, allocations: 447 kB / 0.855 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.255e-06/0.6112, allocations: 0 / 0.855 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009506/0.6121, allocations: 363 kB / 0.8553 GB, free: 12.29 MB / 0.6856 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.006684/0.6188, allocations: 2.514 MB / 0.8578 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003946/0.6228, allocations: 1.276 MB / 0.859 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6228, allocations: 0 / 0.859 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.625, allocations: 0.7773 MB / 0.8598 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.6263, allocations: 304.9 kB / 0.8601 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2757/0.902, allocations: 7.825 MB / 0.8677 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.9026, allocations: 1.06 MB / 0.8688 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001424/0.904, allocations: 324 kB / 0.8691 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.9048, allocations: 431.6 kB / 0.8695 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.443e-06/0.9048, allocations: 1.406 kB / 0.8695 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.9616, allocations: 24.08 MB / 0.893 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.97, allocations: 16.61 kB / 0.893 GB, free: 179.5 MB / 0.6856 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)