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.00518/0.00518, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001251/0.001251, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7195/0.7195, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.17 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1388, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006083/0.1449, allocations: 4.908 MB / 0.664 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.286, allocations: 150.9 MB / 0.8113 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2871, allocations: 19.94 kB / 0.8114 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2877, allocations: 202.1 kB / 0.8116 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.2894, allocations: 0.5924 MB / 0.8121 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3384/0.6278, allocations: 0.8849 MB / 0.813 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.6301, allocations: 1.592 MB / 0.8146 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.6315, allocations: 1.058 MB / 0.8156 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.6325, allocations: 0.6978 MB / 0.8163 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007773/0.6333, allocations: 0.7319 MB / 0.817 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.6336, allocations: 174.1 kB / 0.8171 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.6347, allocations: 0.5341 MB / 0.8177 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.6351, allocations: 420 kB / 0.8181 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.6359, allocations: 0.7818 MB / 0.8188 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6389, allocations: 2.196 MB / 0.821 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6389, allocations: 3.562 kB / 0.821 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6389, allocations: 0 / 0.821 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.621e-05/0.639, allocations: 1.281 kB / 0.821 GB, free: 3.504 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00342/0.6424, allocations: 1.823 MB / 0.8228 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.6425, allocations: 11.12 kB / 0.8228 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000256/0.6427, allocations: 209.5 kB / 0.823 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6438, allocations: 244.9 kB / 0.8232 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6452, allocations: 0.9141 MB / 0.8241 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.788e-05/0.6453, allocations: 106.5 kB / 0.8242 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.6454, allocations: 138.6 kB / 0.8243 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.6493, allocations: 1.43 MB / 0.8257 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6494, allocations: 1.875 kB / 0.8257 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.6495, allocations: 58.5 kB / 0.8258 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.6495, allocations: 35.81 kB / 0.8258 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.6519, allocations: 1.516 MB / 0.8273 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.6573, allocations: 3.737 MB / 0.8309 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6589, allocations: 0.9592 MB / 0.8319 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.6595, allocations: 399.3 kB / 0.8323 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.6596, allocations: 52.77 kB / 0.8323 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009036/0.6605, allocations: 0.5782 MB / 0.8329 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.836e-06/0.6605, allocations: 0.9062 kB / 0.8329 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003391/0.6639, allocations: 1.482 MB / 0.8343 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.6639, allocations: 195.5 kB / 0.8345 GB, free: 396 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.6648, allocations: 0.7619 MB / 0.8353 GB, free: 260 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.6649, allocations: 46.02 kB / 0.8353 GB, free: 228 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.6653, allocations: 0.5709 MB / 0.8359 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.6656, allocations: 359.6 kB / 0.8362 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.6658, allocations: 196.6 kB / 0.8364 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.666, allocations: 344.6 kB / 0.8367 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.6665, allocations: 342.5 kB / 0.837 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.6672, allocations: 462.6 kB / 0.8375 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.6685, allocations: 0.8126 MB / 0.8383 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6685, allocations: 0 / 0.8383 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00214/0.6706, allocations: 1.071 MB / 0.8393 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6707, allocations: 6.188 kB / 0.8393 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6707, allocations: 2.844 kB / 0.8393 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/0.6713, allocations: 86.72 kB / 0.8394 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.6721, allocations: 209.6 kB / 0.8396 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.6741, allocations: 1.649 MB / 0.8412 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.675, allocations: 111.3 kB / 0.8413 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.6751, allocations: 44.39 kB / 0.8414 GB, free: 13.7 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 (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.0005843/0.6756, allocations: 312.6 kB / 0.8417 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.6758, allocations: 109.6 kB / 0.8418 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.6785, allocations: 1.379 MB / 0.8431 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.6786, allocations: 10.03 kB / 0.8431 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6786, allocations: 4.812 kB / 0.8431 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6786, allocations: 5.859 kB / 0.8431 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.6825, allocations: 2.564 MB / 0.8457 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.6825, allocations: 0.875 kB / 0.8457 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.6833, allocations: 190.8 kB / 0.8458 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.6837, allocations: 79.98 kB / 0.8459 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.6838, allocations: 28.7 kB / 0.8459 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.6855, allocations: 1.684 MB / 0.8476 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6855, allocations: 0 / 0.8476 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.6876, allocations: 1.177 MB / 0.8487 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.6881, allocations: 329.2 kB / 0.849 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6882, allocations: 30.31 kB / 0.8491 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.6889, allocations: 59.45 kB / 0.8491 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6891, allocations: 74.62 kB / 0.8492 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.6892, allocations: 39.09 kB / 0.8492 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006456/0.6898, allocations: 0.5768 MB / 0.8498 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6898, allocations: 1.062 kB / 0.8498 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001009/0.6908, allocations: 405.8 kB / 0.8502 GB, free: 11.02 MB / 0.6544 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.003383/0.6942, allocations: 2.231 MB / 0.8524 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.696, allocations: 1.004 MB / 0.8534 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.696, allocations: 2.844 kB / 0.8534 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.6969, allocations: 0.6079 MB / 0.8539 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6983, allocations: 304.7 kB / 0.8542 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.7107, allocations: 8.156 MB / 0.8622 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.7114, allocations: 1.169 MB / 0.8633 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001046/0.7125, allocations: 299.9 kB / 0.8636 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/0.7132, allocations: 0.5443 MB / 0.8642 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7132, allocations: 0 / 0.8642 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/0.7643, allocations: 26.23 MB / 0.8898 GB, free: 8.551 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.87, allocations: 7.922 kB / 0.8898 GB, free: 8.543 MB / 0.67 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)