Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001075/0.001075, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9155/0.9155, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 67.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3931, allocations: 80.92 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004842/0.398, allocations: 4.165 MB / 0.6682 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.5595, allocations: 150.7 MB / 0.8153 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.5605, allocations: 19.88 kB / 0.8154 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.5613, allocations: 162.5 kB / 0.8155 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.5633, allocations: 0.4999 MB / 0.816 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5654, allocations: 0.7964 MB / 0.8168 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.5669, allocations: 1.223 MB / 0.818 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009235/0.5678, allocations: 0.6178 MB / 0.8186 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.5686, allocations: 458.3 kB / 0.819 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/0.5692, allocations: 457.9 kB / 0.8194 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.5694, allocations: 108 kB / 0.8195 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.5703, allocations: 475.6 kB / 0.82 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.5706, allocations: 275.1 kB / 0.8203 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.5711, allocations: 0.5051 MB / 0.8208 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.5728, allocations: 1.511 MB / 0.8222 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5728, allocations: 0 / 0.8222 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5728, allocations: 4 kB / 0.8222 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5728, allocations: 0 / 0.8222 GB, free: 15.1 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.0022/0.575, allocations: 1.383 MB / 0.8236 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5751, allocations: 8.031 kB / 0.8236 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.5752, allocations: 131.3 kB / 0.8237 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.5761, allocations: 188.1 kB / 0.8239 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5772, allocations: 0.7348 MB / 0.8246 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.5773, allocations: 66 kB / 0.8247 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5774, allocations: 76 kB / 0.8248 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5789, allocations: 0.891 MB / 0.8256 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.5789, allocations: 0 / 0.8256 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.579, allocations: 36 kB / 0.8257 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.579, allocations: 20 kB / 0.8257 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.5807, allocations: 1.097 MB / 0.8267 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.5844, allocations: 2.469 MB / 0.8292 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5857, allocations: 0.7336 MB / 0.8299 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.5862, allocations: 282.7 kB / 0.8301 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.5863, allocations: 40.53 kB / 0.8302 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/0.5871, allocations: 443.3 kB / 0.8306 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/0.5871, allocations: 7.938 kB / 0.8306 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003093/0.5902, allocations: 1.117 MB / 0.8317 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.5903, allocations: 188.6 kB / 0.8319 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.591, allocations: 0.5979 MB / 0.8325 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.5911, allocations: 37.7 kB / 0.8325 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.5914, allocations: 392.9 kB / 0.8329 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.5916, allocations: 273.7 kB / 0.8331 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.5918, allocations: 134.6 kB / 0.8333 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.592, allocations: 390.7 kB / 0.8336 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.5925, allocations: 225.9 kB / 0.8339 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.5931, allocations: 342.2 kB / 0.8342 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5941, allocations: 0.5589 MB / 0.8347 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5942, allocations: 0 / 0.8347 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001874/0.596, allocations: 0.7553 MB / 0.8355 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5961, allocations: 8 kB / 0.8355 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5961, allocations: 0 / 0.8355 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.5967, allocations: 84.83 kB / 0.8356 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.5974, allocations: 143.8 kB / 0.8357 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.5998, allocations: 1.641 MB / 0.8373 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.6005, allocations: 79.52 kB / 0.8374 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.6006, allocations: 27.98 kB / 0.8374 GB, free: 15.04 MB / 0.67 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 (81): * Single equations (assignments): 80 * 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.0005654/0.6012, allocations: 259 kB / 0.8376 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.6014, allocations: 83.48 kB / 0.8377 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.6039, allocations: 1.022 MB / 0.8387 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6039, allocations: 12 kB / 0.8387 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6039, allocations: 0 / 0.8387 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6039, allocations: 7.922 kB / 0.8387 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.6074, allocations: 1.877 MB / 0.8406 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6074, allocations: 0 / 0.8406 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.608, allocations: 147.8 kB / 0.8407 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.6085, allocations: 76.81 kB / 0.8408 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.107e-05/0.6086, allocations: 23.98 kB / 0.8408 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.6104, allocations: 1.673 MB / 0.8424 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6104, allocations: 0 / 0.8424 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.6124, allocations: 0.936 MB / 0.8434 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.6128, allocations: 264.2 kB / 0.8436 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.613, allocations: 16 kB / 0.8436 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.6136, allocations: 57.97 kB / 0.8437 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.6137, allocations: 60.92 kB / 0.8437 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.6138, allocations: 31.98 kB / 0.8438 GB, free: 8.242 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005716/0.6144, allocations: 447 kB / 0.8442 GB, free: 7.812 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6144, allocations: 3.938 kB / 0.8442 GB, free: 7.809 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008431/0.6152, allocations: 287.2 kB / 0.8445 GB, free: 7.527 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.003409/0.6187, allocations: 1.979 MB / 0.8464 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.6203, allocations: 0.7629 MB / 0.8472 GB, free: 4.918 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6203, allocations: 0 / 0.8472 GB, free: 4.918 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.6212, allocations: 0.4885 MB / 0.8476 GB, free: 4.422 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6225, allocations: 297.2 kB / 0.8479 GB, free: 4.152 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.6336, allocations: 6.08 MB / 0.8538 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.6344, allocations: 1.007 MB / 0.8548 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008661/0.6353, allocations: 254.5 kB / 0.8551 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.6358, allocations: 355.3 kB / 0.8554 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.6359, allocations: 3.938 kB / 0.8554 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3321/0.968, allocations: 20.41 MB / 0.8753 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.29, allocations: 8.484 kB / 0.8754 GB, free: 190.4 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)