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.0007819/0.000782, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005386/0.005386, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7066/0.7066, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 16.64 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3225, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004031/0.3265, allocations: 4.003 MB / 0.5877 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1441/0.4706, allocations: 146.8 MB / 0.731 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.471, allocations: 15.88 kB / 0.731 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.4714, allocations: 134.9 kB / 0.7311 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009503/0.4724, allocations: 409.3 kB / 0.7315 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.4737, allocations: 0.7861 MB / 0.7323 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.4748, allocations: 1.278 MB / 0.7335 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008767/0.4757, allocations: 0.7487 MB / 0.7342 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.4761, allocations: 374.2 kB / 0.7346 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.4766, allocations: 437.6 kB / 0.735 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.4766, allocations: 28 kB / 0.735 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.4772, allocations: 395.6 kB / 0.7354 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.4774, allocations: 211 kB / 0.7356 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.4778, allocations: 494.6 kB / 0.7361 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.4791, allocations: 1.592 MB / 0.7377 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4791, allocations: 0 / 0.7377 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4791, allocations: 0 / 0.7377 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4791, allocations: 0 / 0.7377 GB, free: 2.238 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.002203/0.4813, allocations: 1.311 MB / 0.7389 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.4814, allocations: 8.031 kB / 0.7389 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.4815, allocations: 160.8 kB / 0.7391 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.4867, allocations: 0.8148 MB / 0.7399 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.4877, allocations: 0.7771 MB / 0.7406 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.4878, allocations: 82.09 kB / 0.7407 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.488, allocations: 100 kB / 0.7408 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.491, allocations: 1.395 MB / 0.7422 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.491, allocations: 0 / 0.7422 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4911, allocations: 44 kB / 0.7422 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4911, allocations: 28 kB / 0.7423 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.4956, allocations: 1.889 MB / 0.7441 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.5012, allocations: 3.188 MB / 0.7472 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.5044, allocations: 1.284 MB / 0.7485 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5059, allocations: 0.5777 MB / 0.749 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.5065, allocations: 474.6 kB / 0.7495 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.5083, allocations: 0.7426 MB / 0.7502 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.154e-06/0.5083, allocations: 0 / 0.7502 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005746/0.514, allocations: 1.875 MB / 0.752 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.5141, allocations: 188.9 kB / 0.7522 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.5148, allocations: 0.6135 MB / 0.7528 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.5149, allocations: 45.64 kB / 0.7529 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.5152, allocations: 412.5 kB / 0.7533 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.5155, allocations: 339 kB / 0.7536 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5156, allocations: 73.67 kB / 0.7536 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5157, allocations: 382.8 kB / 0.754 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.5171, allocations: 469.7 kB / 0.7545 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.5186, allocations: 0.5812 MB / 0.755 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.5214, allocations: 1.012 MB / 0.756 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5215, allocations: 4 kB / 0.756 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003632/0.5251, allocations: 1.259 MB / 0.7572 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5251, allocations: 4 kB / 0.7573 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5251, allocations: 4 kB / 0.7573 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.5257, allocations: 80.89 kB / 0.7573 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.527, allocations: 251.6 kB / 0.7576 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.5289, allocations: 1.52 MB / 0.7591 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.53, allocations: 160.6 kB / 0.7592 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.5301, allocations: 43.97 kB / 0.7593 GB, free: 11.4 MB / 0.5919 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.0003966/0.5305, allocations: 271.5 kB / 0.7595 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5307, allocations: 82.97 kB / 0.7596 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.5351, allocations: 1.601 MB / 0.7612 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5351, allocations: 12 kB / 0.7612 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5351, allocations: 0 / 0.7612 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5351, allocations: 7.969 kB / 0.7612 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.5408, allocations: 2.75 MB / 0.7639 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5408, allocations: 0 / 0.7639 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.5421, allocations: 247.7 kB / 0.7641 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.5426, allocations: 88.72 kB / 0.7642 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.5427, allocations: 35.91 kB / 0.7642 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.5444, allocations: 1.552 MB / 0.7657 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5444, allocations: 4.031 kB / 0.7657 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.5481, allocations: 1.445 MB / 0.7671 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.5485, allocations: 315.5 kB / 0.7674 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5487, allocations: 20 kB / 0.7675 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.5498, allocations: 128.5 kB / 0.7676 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.55, allocations: 76.89 kB / 0.7677 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.5501, allocations: 43.91 kB / 0.7677 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004862/0.5506, allocations: 447 kB / 0.7681 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5506, allocations: 0 / 0.7681 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008503/0.5514, allocations: 363 kB / 0.7685 GB, free: 1.699 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.005226/0.5567, allocations: 2.507 MB / 0.7709 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003389/0.5601, allocations: 1.284 MB / 0.7722 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5601, allocations: 4 kB / 0.7722 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.5619, allocations: 0.7774 MB / 0.7729 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5631, allocations: 280.3 kB / 0.7732 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.5803, allocations: 8.607 MB / 0.7816 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.5809, allocations: 1.06 MB / 0.7826 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001277/0.5822, allocations: 331.2 kB / 0.783 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/0.5828, allocations: 427.2 kB / 0.7834 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.5829, allocations: 0 / 0.7834 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/0.9075, allocations: 22.69 MB / 0.8055 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.9078, allocations: 310.9 kB / 0.8058 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.284, allocations: 0 / 0.8058 GB, free: 11.79 MB / 0.6387 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)