Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.0007692/0.0007692, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008844/0.0008842, allocations: 168.7 kB / 15.95 MB, free: 204 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.303/1.303, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7409/0.7409, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8.719 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3921, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003958/0.3961, allocations: 3.538 MB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1648/0.5609, allocations: 136.7 MB / 0.7201 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009259/0.5619, allocations: 15.88 kB / 0.7201 GB, free: 4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.5626, allocations: 127 kB / 0.7202 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.5644, allocations: 377.2 kB / 0.7206 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.5661, allocations: 0.6091 MB / 0.7212 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.5676, allocations: 0.9966 MB / 0.7221 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.5685, allocations: 459 kB / 0.7226 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.5691, allocations: 286.7 kB / 0.7228 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.5696, allocations: 314.3 kB / 0.7231 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5698, allocations: 24 kB / 0.7232 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008609/0.5706, allocations: 339.6 kB / 0.7235 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.5709, allocations: 159.3 kB / 0.7236 GB, free: 364 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.5711, allocations: 177.2 kB / 0.7238 GB, free: 180 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.5724, allocations: 1.056 MB / 0.7248 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5724, allocations: 0 / 0.7248 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5724, allocations: 0 / 0.7248 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.713e-05/0.5724, allocations: 3.938 kB / 0.7248 GB, free: 15.11 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002044/0.5745, allocations: 1.135 MB / 0.7259 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5745, allocations: 8.031 kB / 0.726 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.5747, allocations: 130.9 kB / 0.7261 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.5757, allocations: 186.5 kB / 0.7263 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5768, allocations: 0.6797 MB / 0.7269 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5769, allocations: 54 kB / 0.727 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.577, allocations: 76 kB / 0.727 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5785, allocations: 0.8481 MB / 0.7279 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5785, allocations: 0 / 0.7279 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.5786, allocations: 39.98 kB / 0.7279 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5786, allocations: 24 kB / 0.7279 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.5803, allocations: 1.057 MB / 0.729 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.5841, allocations: 2.383 MB / 0.7313 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5853, allocations: 0.6993 MB / 0.732 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.5858, allocations: 274.3 kB / 0.7322 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/0.5859, allocations: 32.67 kB / 0.7323 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.5866, allocations: 419.2 kB / 0.7327 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/0.5866, allocations: 0 / 0.7327 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002701/0.5893, allocations: 1.073 MB / 0.7337 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5894, allocations: 188.6 kB / 0.7339 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.5902, allocations: 0.5784 MB / 0.7345 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.5903, allocations: 45.7 kB / 0.7345 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.5906, allocations: 372.2 kB / 0.7349 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.5908, allocations: 236.6 kB / 0.7351 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.5908, allocations: 16 kB / 0.7351 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.591, allocations: 374.8 kB / 0.7355 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.5914, allocations: 213.2 kB / 0.7357 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.5919, allocations: 322.7 kB / 0.736 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.5924, allocations: 263.1 kB / 0.7362 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5924, allocations: 0 / 0.7362 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001533/0.594, allocations: 0.7158 MB / 0.7369 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.594, allocations: 4 kB / 0.7369 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.594, allocations: 3.938 kB / 0.7369 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/0.5945, allocations: 84.84 kB / 0.737 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.5951, allocations: 139.8 kB / 0.7371 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.597, allocations: 1.512 MB / 0.7386 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.5975, allocations: 85.16 kB / 0.7387 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.5976, allocations: 31.97 kB / 0.7387 GB, free: 372 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0003671/0.598, allocations: 252.1 kB / 0.739 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5981, allocations: 79.02 kB / 0.739 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.6003, allocations: 0.9742 MB / 0.74 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.6003, allocations: 8 kB / 0.74 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6003, allocations: 0 / 0.74 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.6003, allocations: 7.969 kB / 0.74 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.6013, allocations: 0.8216 MB / 0.7408 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6013, allocations: 0 / 0.7408 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.6018, allocations: 139.8 kB / 0.741 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.6023, allocations: 84.78 kB / 0.741 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.6024, allocations: 19.98 kB / 0.7411 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.6042, allocations: 1.548 MB / 0.7426 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6042, allocations: 7.922 kB / 0.7426 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.6058, allocations: 0.8264 MB / 0.7434 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.6062, allocations: 267.8 kB / 0.7436 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6063, allocations: 20 kB / 0.7437 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.6068, allocations: 72.3 kB / 0.7437 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.607, allocations: 60.84 kB / 0.7438 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.6071, allocations: 35.98 kB / 0.7438 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005594/0.6076, allocations: 423.1 kB / 0.7442 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6076, allocations: 0 / 0.7442 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007924/0.6084, allocations: 279.2 kB / 0.7445 GB, free: 10.23 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003141/0.6116, allocations: 1.858 MB / 0.7463 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.6129, allocations: 0.7083 MB / 0.747 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.613, allocations: 3.938 kB / 0.747 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.6138, allocations: 488.2 kB / 0.7475 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.6148, allocations: 249.6 kB / 0.7477 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.6237, allocations: 4.615 MB / 0.7522 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.6243, allocations: 0.9963 MB / 0.7532 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007949/0.6251, allocations: 250.1 kB / 0.7534 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.6256, allocations: 343.3 kB / 0.7537 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6256, allocations: 0 / 0.7537 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.6813, allocations: 19.59 MB / 0.7729 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/0.6817, allocations: 288.9 kB / 0.7731 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.902, allocations: 0 / 0.7731 GB, free: 13.32 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: