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.0007794/0.0007794, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008423/0.0008424, allocations: 172.7 kB / 15.95 MB, free: 208 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.276/1.276, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7186/0.7186, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4067, allocations: 81.56 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004151/0.4109, allocations: 3.789 MB / 0.5868 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.5518, allocations: 136.9 MB / 0.7205 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.5526, allocations: 15.94 kB / 0.7205 GB, free: 3.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.5531, allocations: 138.8 kB / 0.7206 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.5545, allocations: 391.7 kB / 0.721 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5563, allocations: 0.6917 MB / 0.7217 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.5578, allocations: 1.165 MB / 0.7228 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009723/0.5588, allocations: 0.5699 MB / 0.7234 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.5594, allocations: 362.4 kB / 0.7237 GB, free: 164 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.5601, allocations: 418 kB / 0.7241 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.5602, allocations: 28 kB / 0.7242 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.5611, allocations: 371.6 kB / 0.7245 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.5614, allocations: 203.1 kB / 0.7247 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.5617, allocations: 201.1 kB / 0.7249 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.563, allocations: 1.243 MB / 0.7261 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5631, allocations: 0 / 0.7261 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5631, allocations: 0 / 0.7261 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.027e-05/0.5631, allocations: 0 / 0.7261 GB, free: 13.71 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.002878/0.566, allocations: 1.33 MB / 0.7274 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.566, allocations: 8.031 kB / 0.7274 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/0.5664, allocations: 160.6 kB / 0.7276 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.5712, allocations: 0.8178 MB / 0.7284 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5724, allocations: 0.7537 MB / 0.7291 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.5724, allocations: 74.09 kB / 0.7292 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5726, allocations: 108 kB / 0.7293 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.5757, allocations: 1.379 MB / 0.7306 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5757, allocations: 0 / 0.7306 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.5759, allocations: 51.94 kB / 0.7307 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.5759, allocations: 28 kB / 0.7307 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.5803, allocations: 1.881 MB / 0.7325 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006116/0.5864, allocations: 3.164 MB / 0.7356 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.5894, allocations: 1.28 MB / 0.7369 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.5908, allocations: 0.5699 MB / 0.7374 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.5915, allocations: 478.6 kB / 0.7379 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/0.5932, allocations: 0.7503 MB / 0.7386 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/0.5932, allocations: 0 / 0.7386 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.006424/0.5997, allocations: 1.86 MB / 0.7404 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5998, allocations: 188.9 kB / 0.7406 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6011, allocations: 0.6057 MB / 0.7412 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.6013, allocations: 45.7 kB / 0.7413 GB, free: 13.72 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.6017, allocations: 420.5 kB / 0.7417 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.6022, allocations: 335 kB / 0.742 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.6023, allocations: 20 kB / 0.742 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.6025, allocations: 386.8 kB / 0.7424 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.6043, allocations: 461.7 kB / 0.7428 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.6064, allocations: 0.5774 MB / 0.7434 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.6082, allocations: 0.4948 MB / 0.7439 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6083, allocations: 0 / 0.7439 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.005005/0.6133, allocations: 1.251 MB / 0.7451 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6133, allocations: 4 kB / 0.7451 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6134, allocations: 3.984 kB / 0.7451 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/0.6141, allocations: 84.91 kB / 0.7452 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6155, allocations: 243.6 kB / 0.7454 GB, free: 9.418 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.6175, allocations: 1.522 MB / 0.7469 GB, free: 7.762 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.6191, allocations: 152.7 kB / 0.747 GB, free: 7.613 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.6192, allocations: 39.97 kB / 0.7471 GB, free: 7.574 MB / 0.5763 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.0007956/0.62, allocations: 277.6 kB / 0.7473 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.6204, allocations: 86.95 kB / 0.7474 GB, free: 7.207 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00611/0.6265, allocations: 1.6 MB / 0.749 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6265, allocations: 12 kB / 0.749 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.6265, allocations: 0 / 0.749 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.6266, allocations: 7.922 kB / 0.749 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/0.635, allocations: 2.75 MB / 0.7517 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.635, allocations: 4 kB / 0.7517 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.6368, allocations: 251.7 kB / 0.7519 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.6374, allocations: 88.77 kB / 0.752 GB, free: 2.422 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.6376, allocations: 27.92 kB / 0.752 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.6399, allocations: 1.54 MB / 0.7535 GB, free: 0.7188 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6399, allocations: 4.031 kB / 0.7535 GB, free: 0.7148 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.6434, allocations: 1.437 MB / 0.755 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.6439, allocations: 315.5 kB / 0.7553 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.6441, allocations: 27.94 kB / 0.7553 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6451, allocations: 128.5 kB / 0.7554 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6453, allocations: 76.83 kB / 0.7555 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6454, allocations: 39.97 kB / 0.7555 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006182/0.646, allocations: 443 kB / 0.7559 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.646, allocations: 0 / 0.7559 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009656/0.647, allocations: 363 kB / 0.7563 GB, free: 13.88 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 (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.005117/0.6521, allocations: 2.49 MB / 0.7587 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.6554, allocations: 1.28 MB / 0.76 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6555, allocations: 0 / 0.76 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.6572, allocations: 0.7812 MB / 0.7607 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6585, allocations: 260.6 kB / 0.761 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.6722, allocations: 6.134 MB / 0.767 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.6729, allocations: 1.06 MB / 0.768 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001584/0.6744, allocations: 331.1 kB / 0.7683 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/0.6752, allocations: 431.2 kB / 0.7687 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6752, allocations: 0 / 0.7687 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.7179, allocations: 23.79 MB / 0.792 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.7182, allocations: 293.6 kB / 0.7922 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.122, allocations: 0 / 0.7922 GB, free: 9.449 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/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: