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.004515/0.004515, allocations: 98.14 kB / 15.73 MB, free: 6.047 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.00127/0.00127, allocations: 199 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8502/0.8502, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3796, allocations: 80.21 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00495/0.3845, allocations: 4.112 MB / 0.6632 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.5569, allocations: 150.5 MB / 0.8101 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.5577, allocations: 19.94 kB / 0.8102 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.5582, allocations: 162.5 kB / 0.8103 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.5597, allocations: 471.7 kB / 0.8108 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.5616, allocations: 0.7902 MB / 0.8115 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.5628, allocations: 1.164 MB / 0.8127 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008654/0.5637, allocations: 0.5992 MB / 0.8133 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.5642, allocations: 422.5 kB / 0.8137 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.5647, allocations: 444 kB / 0.8141 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.5649, allocations: 103.9 kB / 0.8142 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.5657, allocations: 467.6 kB / 0.8146 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.566, allocations: 267.1 kB / 0.8149 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.5665, allocations: 0.4935 MB / 0.8154 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.5682, allocations: 1.473 MB / 0.8168 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5683, allocations: 4 kB / 0.8168 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5683, allocations: 0 / 0.8168 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5683, allocations: 0 / 0.8168 GB, free: 4.219 MB / 0.6387 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.002213/0.5705, allocations: 1.352 MB / 0.8181 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5705, allocations: 8.031 kB / 0.8181 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.5707, allocations: 127 kB / 0.8183 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/0.5716, allocations: 192.1 kB / 0.8184 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5728, allocations: 0.7271 MB / 0.8191 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.5728, allocations: 61.98 kB / 0.8192 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5729, allocations: 76 kB / 0.8193 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.5745, allocations: 0.852 MB / 0.8201 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5745, allocations: 0 / 0.8201 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.5746, allocations: 32 kB / 0.8201 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.5746, allocations: 23.94 kB / 0.8202 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.5765, allocations: 1.054 MB / 0.8212 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.5802, allocations: 2.325 MB / 0.8235 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.5816, allocations: 0.7043 MB / 0.8241 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.5822, allocations: 270.4 kB / 0.8244 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.5822, allocations: 36.59 kB / 0.8244 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.583, allocations: 423.1 kB / 0.8248 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 2.014e-06/0.5831, allocations: 0 / 0.8248 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.003157/0.5862, allocations: 1.065 MB / 0.8259 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.5864, allocations: 192.5 kB / 0.8261 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.5871, allocations: 0.5862 MB / 0.8266 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.5872, allocations: 37.7 kB / 0.8267 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.5876, allocations: 384.8 kB / 0.827 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.5878, allocations: 253.8 kB / 0.8273 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.588, allocations: 134.2 kB / 0.8274 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5882, allocations: 374.8 kB / 0.8278 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.5887, allocations: 213.2 kB / 0.828 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.5893, allocations: 314.8 kB / 0.8283 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5904, allocations: 0.5238 MB / 0.8288 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5904, allocations: 3.938 kB / 0.8288 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001889/0.5923, allocations: 0.7162 MB / 0.8295 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5924, allocations: 8 kB / 0.8295 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5924, allocations: 0 / 0.8295 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.593, allocations: 84.83 kB / 0.8296 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.5936, allocations: 131.8 kB / 0.8297 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.5959, allocations: 1.629 MB / 0.8313 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.5965, allocations: 67.62 kB / 0.8314 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.5966, allocations: 31.98 kB / 0.8314 GB, free: 4.746 MB / 0.6544 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 (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 (75): * Single equations (assignments): 74 * 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.0003815/0.597, allocations: 258.3 kB / 0.8316 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5971, allocations: 79.47 kB / 0.8317 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.5995, allocations: 0.9589 MB / 0.8326 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5995, allocations: 8 kB / 0.8327 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5995, allocations: 4 kB / 0.8327 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5995, allocations: 3.984 kB / 0.8327 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.6005, allocations: 0.8217 MB / 0.8335 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6006, allocations: 0 / 0.8335 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.6012, allocations: 139.8 kB / 0.8336 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.6017, allocations: 76.72 kB / 0.8337 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.6018, allocations: 23.98 kB / 0.8337 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.6039, allocations: 1.662 MB / 0.8353 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6039, allocations: 0 / 0.8353 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.6058, allocations: 0.8269 MB / 0.8361 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.6061, allocations: 252.2 kB / 0.8364 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6062, allocations: 23.94 kB / 0.8364 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.6068, allocations: 54.14 kB / 0.8364 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6069, allocations: 60.91 kB / 0.8365 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.607, allocations: 27.98 kB / 0.8365 GB, free: 15.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006125/0.6076, allocations: 427.1 kB / 0.8369 GB, free: 14.81 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6076, allocations: 0 / 0.8369 GB, free: 14.81 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007389/0.6084, allocations: 287.2 kB / 0.8372 GB, free: 14.53 MB / 0.67 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 (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.004124/0.6125, allocations: 1.884 MB / 0.839 GB, free: 12.83 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.6141, allocations: 0.7161 MB / 0.8397 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6142, allocations: 0 / 0.8397 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.6151, allocations: 476.3 kB / 0.8402 GB, free: 11.62 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.6164, allocations: 280.9 kB / 0.8405 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.6275, allocations: 5.769 MB / 0.8461 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.6282, allocations: 0.9921 MB / 0.8471 GB, free: 4.484 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007662/0.629, allocations: 261.9 kB / 0.8473 GB, free: 4.227 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.6295, allocations: 347.2 kB / 0.8477 GB, free: 3.887 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.6296, allocations: 0 / 0.8477 GB, free: 3.887 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.6842, allocations: 19.65 MB / 0.8668 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.4, allocations: 11.33 kB / 0.8669 GB, free: 0.5977 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)