Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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/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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.001244/0.001244, allocations: 108 kB / 15.61 MB, free: 152 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.00124/0.00124, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7024/0.7024, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 61.66 kB / 0.5019 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3251, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005674/0.3308, allocations: 4.913 MB / 0.585 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1426/0.4734, allocations: 150.9 MB / 0.7324 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.4744, allocations: 19.88 kB / 0.7324 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.4751, allocations: 194.1 kB / 0.7326 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.477, allocations: 0.5775 MB / 0.7331 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.479, allocations: 0.8902 MB / 0.734 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.4804, allocations: 1.577 MB / 0.7355 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.4816, allocations: 1.067 MB / 0.7366 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.4824, allocations: 0.6733 MB / 0.7372 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.4832, allocations: 0.7312 MB / 0.7379 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.4834, allocations: 180 kB / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.4842, allocations: 0.5112 MB / 0.7386 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.4846, allocations: 418.6 kB / 0.739 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.4852, allocations: 0.7772 MB / 0.7398 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.4871, allocations: 2.13 MB / 0.7419 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4871, allocations: 4 kB / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4871, allocations: 0 / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.274e-05/0.4872, allocations: 0 / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002849/0.49, allocations: 1.786 MB / 0.7436 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4901, allocations: 12.03 kB / 0.7436 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.4903, allocations: 211.3 kB / 0.7438 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009428/0.4913, allocations: 234.8 kB / 0.744 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.4923, allocations: 0.8835 MB / 0.7449 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.4924, allocations: 106.9 kB / 0.745 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4926, allocations: 136 kB / 0.7451 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.4946, allocations: 1.424 MB / 0.7465 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4947, allocations: 0 / 0.7465 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.4948, allocations: 67.97 kB / 0.7466 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4948, allocations: 36 kB / 0.7466 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.4971, allocations: 1.505 MB / 0.7481 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005148/0.5022, allocations: 3.798 MB / 0.7518 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.5038, allocations: 0.9612 MB / 0.7527 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.5044, allocations: 395.7 kB / 0.7531 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.5045, allocations: 49.06 kB / 0.7532 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009261/0.5054, allocations: 0.5825 MB / 0.7537 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.214e-06/0.5054, allocations: 0 / 0.7537 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.003425/0.5089, allocations: 1.477 MB / 0.7552 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.509, allocations: 193 kB / 0.7554 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.5098, allocations: 0.7706 MB / 0.7561 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.5099, allocations: 45.7 kB / 0.7562 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.5103, allocations: 0.5504 MB / 0.7567 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.5105, allocations: 346.9 kB / 0.757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.5108, allocations: 198.5 kB / 0.7572 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.511, allocations: 341.9 kB / 0.7575 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.5116, allocations: 345.8 kB / 0.7579 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.5123, allocations: 458.5 kB / 0.7583 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.5137, allocations: 0.8078 MB / 0.7591 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5137, allocations: 4 kB / 0.7591 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002165/0.5158, allocations: 1.063 MB / 0.7601 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5159, allocations: 11.94 kB / 0.7601 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5159, allocations: 0 / 0.7601 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.5165, allocations: 84.83 kB / 0.7602 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.5173, allocations: 207.7 kB / 0.7604 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5192, allocations: 1.652 MB / 0.762 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.5199, allocations: 103.1 kB / 0.7621 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.52, allocations: 43.95 kB / 0.7622 GB, free: 6.008 MB / 0.5919 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 (117): * Single equations (assignments): 116 * 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.0003982/0.5204, allocations: 305.6 kB / 0.7625 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.5206, allocations: 106.8 kB / 0.7626 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.5235, allocations: 1.396 MB / 0.7639 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5235, allocations: 12 kB / 0.7639 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.5235, allocations: 0 / 0.7639 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5236, allocations: 11.97 kB / 0.764 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.5272, allocations: 2.559 MB / 0.7665 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5273, allocations: 0 / 0.7665 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/0.528, allocations: 191.8 kB / 0.7666 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.5284, allocations: 76.72 kB / 0.7667 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.5285, allocations: 27.98 kB / 0.7667 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.5302, allocations: 1.681 MB / 0.7684 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5303, allocations: 0 / 0.7684 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.5324, allocations: 1.171 MB / 0.7695 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.5327, allocations: 319.4 kB / 0.7698 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.5329, allocations: 27.94 kB / 0.7699 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.5336, allocations: 61.66 kB / 0.7699 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.5337, allocations: 84.77 kB / 0.77 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.5338, allocations: 39.97 kB / 0.77 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006645/0.5345, allocations: 0.5771 MB / 0.7706 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5345, allocations: 0 / 0.7706 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007845/0.5353, allocations: 394.6 kB / 0.771 GB, free: 12.73 MB / 0.6075 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 (115): * Single equations (assignments): 112 * 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.003426/0.5387, allocations: 2.225 MB / 0.7731 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.5414, allocations: 1.249 MB / 0.7744 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5414, allocations: 4 kB / 0.7744 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000988/0.5424, allocations: 0.6213 MB / 0.775 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5436, allocations: 306.6 kB / 0.7753 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.5559, allocations: 8.519 MB / 0.7836 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.5566, allocations: 1.162 MB / 0.7847 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008343/0.5574, allocations: 300.4 kB / 0.785 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/0.5581, allocations: 0.5461 MB / 0.7855 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.5581, allocations: 0 / 0.7855 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/0.6074, allocations: 25.87 MB / 0.8108 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.17, allocations: 4.062 kB / 0.8108 GB, free: 4.184 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)