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.007252/0.007252, allocations: 96.11 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.001909/0.001909, allocations: 202 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.406/1.406, 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-master/package.mo): time 0.9616/0.9616, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 81.02 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004382/0.3549, allocations: 4.173 MB / 0.6689 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5225, allocations: 150.6 MB / 0.8161 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.5232, allocations: 15.94 kB / 0.8161 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.5237, allocations: 162.4 kB / 0.8162 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.5252, allocations: 0.489 MB / 0.8167 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.527, allocations: 0.7934 MB / 0.8175 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.5284, allocations: 1.215 MB / 0.8187 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008813/0.5293, allocations: 0.6292 MB / 0.8193 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.5298, allocations: 450.3 kB / 0.8197 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.5304, allocations: 458 kB / 0.8201 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.5306, allocations: 108 kB / 0.8202 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008683/0.5314, allocations: 475.5 kB / 0.8207 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.5317, allocations: 271.1 kB / 0.821 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.5322, allocations: 0.5013 MB / 0.8214 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.534, allocations: 1.515 MB / 0.8229 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.534, allocations: 8 kB / 0.8229 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.534, allocations: 0 / 0.8229 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.534, allocations: 0 / 0.8229 GB, free: 14.45 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.002252/0.5363, allocations: 1.383 MB / 0.8243 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5363, allocations: 8.031 kB / 0.8243 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.5365, allocations: 131.3 kB / 0.8244 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.5374, allocations: 184.1 kB / 0.8246 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5385, allocations: 0.7426 MB / 0.8253 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.5386, allocations: 62 kB / 0.8254 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.5387, allocations: 80 kB / 0.8255 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.5402, allocations: 0.8833 MB / 0.8263 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5403, allocations: 0 / 0.8263 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.5403, allocations: 35.94 kB / 0.8264 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5404, allocations: 20 kB / 0.8264 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5422, allocations: 1.104 MB / 0.8275 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.5462, allocations: 2.475 MB / 0.8299 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5476, allocations: 0.7258 MB / 0.8306 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.5481, allocations: 290.7 kB / 0.8309 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.5482, allocations: 40.53 kB / 0.8309 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008115/0.549, allocations: 435.3 kB / 0.8313 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.917e-06/0.5491, allocations: 0 / 0.8313 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00315/0.5522, allocations: 1.125 MB / 0.8324 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5523, allocations: 188.6 kB / 0.8326 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.5531, allocations: 0.5979 MB / 0.8332 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.5532, allocations: 45.7 kB / 0.8332 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.5535, allocations: 388.9 kB / 0.8336 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.5537, allocations: 253.8 kB / 0.8338 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.554, allocations: 146.6 kB / 0.834 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.5542, allocations: 386.7 kB / 0.8343 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5547, allocations: 225.9 kB / 0.8346 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.5553, allocations: 342.2 kB / 0.8349 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.5564, allocations: 0.5589 MB / 0.8354 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5564, allocations: 0 / 0.8354 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001878/0.5583, allocations: 0.7631 MB / 0.8362 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5584, allocations: 8 kB / 0.8362 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5584, allocations: 0 / 0.8362 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.559, allocations: 88.77 kB / 0.8363 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.5596, allocations: 147.8 kB / 0.8364 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.562, allocations: 1.63 MB / 0.838 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.5626, allocations: 83.45 kB / 0.8381 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.5626, allocations: 31.97 kB / 0.8381 GB, free: 14.38 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.0003836/0.563, allocations: 255.9 kB / 0.8383 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5632, allocations: 79.48 kB / 0.8384 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.5657, allocations: 1.022 MB / 0.8394 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5657, allocations: 11.98 kB / 0.8394 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5657, allocations: 4 kB / 0.8394 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5658, allocations: 7.922 kB / 0.8394 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.5691, allocations: 1.885 MB / 0.8413 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5691, allocations: 0 / 0.8413 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.5697, allocations: 143.8 kB / 0.8414 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.5701, allocations: 72.78 kB / 0.8415 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.5702, allocations: 27.98 kB / 0.8415 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5723, allocations: 1.666 MB / 0.8431 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5723, allocations: 7.922 kB / 0.8432 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.5743, allocations: 0.936 MB / 0.8441 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.5746, allocations: 260.3 kB / 0.8443 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5747, allocations: 23.98 kB / 0.8443 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.5753, allocations: 47.95 kB / 0.8444 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5755, allocations: 64.91 kB / 0.8444 GB, free: 7.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.5755, allocations: 27.98 kB / 0.8445 GB, free: 7.586 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005767/0.5761, allocations: 443 kB / 0.8449 GB, free: 7.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5761, allocations: 0 / 0.8449 GB, free: 7.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007722/0.5769, allocations: 295.2 kB / 0.8452 GB, free: 6.871 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.004055/0.581, allocations: 1.982 MB / 0.8471 GB, free: 5.035 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.5826, allocations: 0.7552 MB / 0.8478 GB, free: 4.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5826, allocations: 3.938 kB / 0.8479 GB, free: 4.266 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.5835, allocations: 496.3 kB / 0.8483 GB, free: 3.773 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5848, allocations: 303 kB / 0.8486 GB, free: 3.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.5956, allocations: 6.076 MB / 0.8545 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.5963, allocations: 1.007 MB / 0.8555 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000749/0.5971, allocations: 258.5 kB / 0.8558 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.5976, allocations: 363.3 kB / 0.8561 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of SimCode: time 2.103e-06/0.5976, allocations: 0 / 0.8561 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3063/0.904, allocations: 20.4 MB / 0.876 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.7, allocations: 12.47 kB / 0.8761 GB, free: 190.1 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)