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.001122/0.001122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001134/0.001134, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.154/1.154, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6576/0.6576, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 67.91 kB / 0.5014 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 80.2 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005221/0.1257, allocations: 4.418 MB / 0.584 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3181/0.4438, allocations: 148.4 MB / 0.729 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.4445, allocations: 19.25 kB / 0.729 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.4451, allocations: 139.7 kB / 0.7291 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.4466, allocations: 425.1 kB / 0.7295 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4485, allocations: 0.8101 MB / 0.7303 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.45, allocations: 1.365 MB / 0.7316 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4511, allocations: 0.7852 MB / 0.7324 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000743/0.4518, allocations: 0.5206 MB / 0.7329 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007943/0.4526, allocations: 0.5761 MB / 0.7335 GB, free: 220 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.4529, allocations: 130.5 kB / 0.7336 GB, free: 220 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.4537, allocations: 499.1 kB / 0.7341 GB, free: 100 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.454, allocations: 335.3 kB / 0.7344 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.4545, allocations: 0.5946 MB / 0.735 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.4559, allocations: 1.704 MB / 0.7366 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.4559, allocations: 0 / 0.7366 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4559, allocations: 2.969 kB / 0.7366 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4559, allocations: 0 / 0.7366 GB, free: 14.77 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.002402/0.4583, allocations: 1.561 MB / 0.7382 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4584, allocations: 9.312 kB / 0.7382 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.4585, allocations: 166.9 kB / 0.7383 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.4634, allocations: 0.7455 MB / 0.7391 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009442/0.4643, allocations: 0.7783 MB / 0.7398 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.4644, allocations: 76.53 kB / 0.7399 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4645, allocations: 104 kB / 0.74 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.4673, allocations: 1.37 MB / 0.7413 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4674, allocations: 0 / 0.7413 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4675, allocations: 42.66 kB / 0.7414 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4675, allocations: 25.38 kB / 0.7414 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/0.4716, allocations: 1.839 MB / 0.7432 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.4767, allocations: 3.137 MB / 0.7463 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.4797, allocations: 1.286 MB / 0.7475 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.481, allocations: 0.5621 MB / 0.7481 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.4816, allocations: 486.6 kB / 0.7485 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.4834, allocations: 0.7192 MB / 0.7492 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.114e-06/0.4834, allocations: 0 / 0.7492 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.005426/0.4888, allocations: 1.848 MB / 0.751 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.4889, allocations: 196.9 kB / 0.7512 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.4896, allocations: 0.6171 MB / 0.7518 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/0.4897, allocations: 41.7 kB / 0.7519 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.49, allocations: 424.5 kB / 0.7523 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.4902, allocations: 335 kB / 0.7526 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.4905, allocations: 170.5 kB / 0.7527 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4907, allocations: 386.8 kB / 0.7531 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.492, allocations: 461.7 kB / 0.7536 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.4933, allocations: 0.5734 MB / 0.7541 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.496, allocations: 0.9998 MB / 0.7551 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.496, allocations: 4 kB / 0.7551 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003461/0.4995, allocations: 1.243 MB / 0.7563 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4995, allocations: 8 kB / 0.7563 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4995, allocations: 4.125 kB / 0.7563 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.5001, allocations: 80.77 kB / 0.7564 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5013, allocations: 243.6 kB / 0.7566 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5032, allocations: 1.629 MB / 0.7582 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.5043, allocations: 153.4 kB / 0.7584 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.5044, allocations: 35.97 kB / 0.7584 GB, free: 11.33 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.0003772/0.5048, allocations: 271.1 kB / 0.7587 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.5049, allocations: 98.86 kB / 0.7588 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.5092, allocations: 1.576 MB / 0.7603 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.5092, allocations: 12 kB / 0.7603 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5092, allocations: 0 / 0.7603 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5092, allocations: 3.984 kB / 0.7603 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/0.5146, allocations: 2.726 MB / 0.763 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5147, allocations: 0 / 0.763 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.5159, allocations: 251.7 kB / 0.7632 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.5164, allocations: 72.78 kB / 0.7633 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.5165, allocations: 31.97 kB / 0.7633 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.5182, allocations: 1.659 MB / 0.7649 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5182, allocations: 3.938 kB / 0.7649 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.5218, allocations: 1.433 MB / 0.7663 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.5222, allocations: 299.6 kB / 0.7666 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5223, allocations: 19.56 kB / 0.7666 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5234, allocations: 112 kB / 0.7667 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5236, allocations: 76.83 kB / 0.7668 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/0.5237, allocations: 47.97 kB / 0.7669 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004696/0.5242, allocations: 451 kB / 0.7673 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5242, allocations: 0 / 0.7673 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008148/0.525, allocations: 355.1 kB / 0.7676 GB, free: 1.621 MB / 0.5762 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.004966/0.53, allocations: 2.505 MB / 0.7701 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.534, allocations: 1.526 MB / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.534, allocations: 0 / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.5357, allocations: 0.7735 MB / 0.7723 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5368, allocations: 288.5 kB / 0.7726 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.553, allocations: 8.525 MB / 0.7809 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.5536, allocations: 1.052 MB / 0.782 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5549, allocations: 335.2 kB / 0.7823 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/0.5555, allocations: 431.2 kB / 0.7827 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5556, allocations: 0 / 0.7827 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7414/1.297, allocations: 23.64 MB / 0.8058 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.297, allocations: 319.6 kB / 0.8061 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.472, allocations: 2.672 kB / 0.8061 GB, free: 10.63 MB / 0.6231 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)