Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004798/0.004798, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001228/0.001228, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7117/0.7117, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.89 kB / 0.5808 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.327, allocations: 80.2 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005784/0.3329, allocations: 6.067 MB / 0.6651 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.4769, allocations: 151.4 MB / 0.813 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.4778, allocations: 27.88 kB / 0.813 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.4785, allocations: 245.4 kB / 0.8132 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.4801, allocations: 0.6332 MB / 0.8139 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.4823, allocations: 1.279 MB / 0.8151 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.4841, allocations: 2.427 MB / 0.8175 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.4857, allocations: 1.579 MB / 0.819 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/0.4867, allocations: 1.063 MB / 0.8201 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.4878, allocations: 1.194 MB / 0.8212 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.4881, allocations: 296 kB / 0.8215 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/0.489, allocations: 0.6753 MB / 0.8222 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.4895, allocations: 0.6426 MB / 0.8228 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.4903, allocations: 1.178 MB / 0.8239 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.493, allocations: 3.301 MB / 0.8272 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.493, allocations: 4 kB / 0.8272 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.193e-06/0.493, allocations: 4 kB / 0.8272 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.4931, allocations: 0 / 0.8272 GB, free: 9.48 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004688/0.4978, allocations: 2.653 MB / 0.8298 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.4978, allocations: 12.03 kB / 0.8298 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003206/0.4981, allocations: 304.3 kB / 0.8301 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.5131, allocations: 2.106 MB / 0.8321 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.5149, allocations: 1.228 MB / 0.8333 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.515, allocations: 160.4 kB / 0.8335 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.5154, allocations: 212 kB / 0.8337 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/0.5229, allocations: 3.158 MB / 0.8368 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.5229, allocations: 0 / 0.8368 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.5232, allocations: 88 kB / 0.8368 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.5232, allocations: 52 kB / 0.8369 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.535, allocations: 4.103 MB / 0.8409 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.548, allocations: 6.954 MB / 0.8477 GB, free: 4.137 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.5563, allocations: 2.682 MB / 0.8503 GB, free: 1.453 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/0.5604, allocations: 1.427 MB / 0.8517 GB, free: 20 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/0.5611, allocations: 0.5078 MB / 0.8522 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004578/0.5657, allocations: 1.695 MB / 0.8539 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 3.387e-06/0.5657, allocations: 0 / 0.8539 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.0139/0.5796, allocations: 4.205 MB / 0.858 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.5797, allocations: 205.9 kB / 0.8582 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.5807, allocations: 0.8662 MB / 0.859 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.5809, allocations: 53.7 kB / 0.8591 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.5814, allocations: 0.7247 MB / 0.8598 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.5819, allocations: 0.6584 MB / 0.8604 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006328/0.5825, allocations: 351.3 kB / 0.8607 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.5826, allocations: 309.1 kB / 0.861 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.5867, allocations: 1.163 MB / 0.8622 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.5908, allocations: 1.355 MB / 0.8635 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007984/0.5988, allocations: 2.481 MB / 0.8659 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5988, allocations: 0 / 0.8659 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.2519/0.8508, allocations: 2.901 MB / 0.8688 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.8508, allocations: 9.812 kB / 0.8688 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8508, allocations: 2.578 kB / 0.8688 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.8514, allocations: 86.91 kB / 0.8689 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/0.855, allocations: 0.5617 MB / 0.8694 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.8567, allocations: 1.639 MB / 0.871 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.8595, allocations: 338.6 kB / 0.8713 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.8597, allocations: 85.36 kB / 0.8714 GB, free: 190.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.0007676/0.8605, allocations: 405.4 kB / 0.8718 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.8608, allocations: 149.4 kB / 0.8719 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.8716, allocations: 3.48 MB / 0.8753 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.8716, allocations: 19.97 kB / 0.8753 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8716, allocations: 8.719 kB / 0.8754 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.8716, allocations: 13.7 kB / 0.8754 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.884, allocations: 5.756 MB / 0.881 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.884, allocations: 4 kB / 0.881 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.8873, allocations: 0.5395 MB / 0.8815 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.8877, allocations: 72.52 kB / 0.8816 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.8879, allocations: 72.91 kB / 0.8817 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.8893, allocations: 1.665 MB / 0.8833 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8893, allocations: 1.219 kB / 0.8833 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00879/0.8981, allocations: 3.061 MB / 0.8863 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007337/0.8989, allocations: 0.5117 MB / 0.8868 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.8992, allocations: 48.5 kB / 0.8868 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.9018, allocations: 241.3 kB / 0.8871 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.902, allocations: 131.8 kB / 0.8872 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.9022, allocations: 83.27 kB / 0.8873 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007199/0.9029, allocations: 0.6424 MB / 0.8879 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9029, allocations: 0 / 0.8879 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001439/0.9043, allocations: 0.6005 MB / 0.8885 GB, free: 182.1 MB / 0.6856 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 (210): * Single equations (assignments): 207 * 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.01021/0.9145, allocations: 4.167 MB / 0.8925 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008444/0.923, allocations: 2.962 MB / 0.8954 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.923, allocations: 1.594 kB / 0.8954 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.9274, allocations: 1.655 MB / 0.8971 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.9289, allocations: 360.2 kB / 0.8974 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/0.9609, allocations: 15.1 MB / 0.9121 GB, free: 168 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.9615, allocations: 1.374 MB / 0.9135 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00222/0.9638, allocations: 0.5468 MB / 0.914 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.965, allocations: 0.8194 MB / 0.9148 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.965, allocations: 0 / 0.9148 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/1.019, allocations: 39.05 MB / 0.953 GB, free: 126.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.64, allocations: 0 / 0.953 GB, free: 126.6 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)