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.001079/0.001079, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001044/0.001044, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.005/1.005, allocations: 132.2 MB / 423.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 20.5 kB / 0.5033 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4942, allocations: 81.57 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004221/0.4985, allocations: 3.725 MB / 0.5866 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.191/0.6895, allocations: 127.6 MB / 0.7112 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.6909, allocations: 15.94 kB / 0.7112 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.6914, allocations: 79.27 kB / 0.7113 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.6937, allocations: 480.8 kB / 0.7118 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.6963, allocations: 0.6807 MB / 0.7124 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.6985, allocations: 0.8345 MB / 0.7133 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.6997, allocations: 0.5699 MB / 0.7138 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.7011, allocations: 378.4 kB / 0.7142 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009563/0.702, allocations: 390 kB / 0.7145 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.7022, allocations: 28 kB / 0.7146 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.7034, allocations: 339.5 kB / 0.7149 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.7036, allocations: 199.2 kB / 0.7151 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.7039, allocations: 201.1 kB / 0.7153 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.7058, allocations: 1.247 MB / 0.7165 GB, free: 7.414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7058, allocations: 0 / 0.7165 GB, free: 7.414 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7058, allocations: 4 kB / 0.7165 GB, free: 7.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.7059, allocations: 0 / 0.7165 GB, free: 7.41 MB / 0.545 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.003617/0.7095, allocations: 1.323 MB / 0.7178 GB, free: 6.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.7096, allocations: 8.031 kB / 0.7178 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.7098, allocations: 160.5 kB / 0.718 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005871/0.7157, allocations: 0.8178 MB / 0.7188 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.7179, allocations: 0.7421 MB / 0.7195 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.718, allocations: 78.09 kB / 0.7195 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.7182, allocations: 108 kB / 0.7197 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.7224, allocations: 1.375 MB / 0.721 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.7225, allocations: 0 / 0.721 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.7226, allocations: 59.88 kB / 0.7211 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.7228, allocations: 24 kB / 0.7211 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005695/0.7285, allocations: 1.877 MB / 0.7229 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007663/0.7362, allocations: 3.163 MB / 0.726 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.7399, allocations: 1.282 MB / 0.7272 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/0.7408, allocations: 482.6 kB / 0.7277 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00211/0.7429, allocations: 0.7347 MB / 0.7284 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/0.7429, allocations: 0 / 0.7284 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.006647/0.7496, allocations: 1.865 MB / 0.7302 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.7497, allocations: 196.9 kB / 0.7304 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.7507, allocations: 0.6096 MB / 0.731 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.7508, allocations: 41.7 kB / 0.7311 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.7512, allocations: 416.5 kB / 0.7315 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.7516, allocations: 335 kB / 0.7318 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.7517, allocations: 16 kB / 0.7318 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.7519, allocations: 390.7 kB / 0.7322 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.7538, allocations: 457.7 kB / 0.7326 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.7558, allocations: 0.5696 MB / 0.7332 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.7573, allocations: 0.5026 MB / 0.7337 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7573, allocations: 3.938 kB / 0.7337 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004073/0.7614, allocations: 1.251 MB / 0.7349 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.7614, allocations: 4 kB / 0.7349 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7615, allocations: 0 / 0.7349 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.7621, allocations: 84.91 kB / 0.735 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7635, allocations: 247.6 kB / 0.7352 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.7659, allocations: 1.528 MB / 0.7367 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.7673, allocations: 160.7 kB / 0.7369 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.7674, allocations: 39.97 kB / 0.7369 GB, free: 1.852 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006498/0.7681, allocations: 269.6 kB / 0.7371 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.7683, allocations: 86.92 kB / 0.7372 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.7731, allocations: 1.597 MB / 0.7388 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.7732, allocations: 12 kB / 0.7388 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7732, allocations: 0 / 0.7388 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7732, allocations: 7.969 kB / 0.7388 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/0.7799, allocations: 2.75 MB / 0.7415 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.7799, allocations: 4 kB / 0.7415 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7813, allocations: 255.6 kB / 0.7417 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/0.7818, allocations: 84.78 kB / 0.7418 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.7819, allocations: 31.97 kB / 0.7419 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.784, allocations: 1.552 MB / 0.7434 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.784, allocations: 0 / 0.7434 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.7883, allocations: 1.449 MB / 0.7448 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.7891, allocations: 307.5 kB / 0.7451 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.7893, allocations: 31.95 kB / 0.7451 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.7905, allocations: 124.5 kB / 0.7452 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7907, allocations: 72.89 kB / 0.7453 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7908, allocations: 47.97 kB / 0.7453 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006867/0.7915, allocations: 435 kB / 0.7458 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7915, allocations: 0 / 0.7458 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001257/0.7928, allocations: 359 kB / 0.7461 GB, free: 8.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005495/0.7983, allocations: 2.502 MB / 0.7485 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003611/0.8019, allocations: 1.28 MB / 0.7498 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8019, allocations: 0 / 0.7498 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.8039, allocations: 0.7889 MB / 0.7506 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.8051, allocations: 241.7 kB / 0.7508 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.8212, allocations: 6.672 MB / 0.7573 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.822, allocations: 1.083 MB / 0.7584 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001589/0.8236, allocations: 331.2 kB / 0.7587 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.8244, allocations: 431.2 kB / 0.7591 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.8244, allocations: 0 / 0.7591 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/0.9101, allocations: 23.76 MB / 0.7823 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004028/0.9105, allocations: 294.8 kB / 0.7826 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/4.357, allocations: 3.938 kB / 0.7826 GB, free: 3.191 MB / 0.6075 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/linux/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) Environment - environmentSimulation: