Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.001055/0.001055, 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.000994/0.0009941, allocations: 192.7 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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.14 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3107, allocations: 80.2 MB / 0.5802 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00492/0.3157, allocations: 4.176 MB / 0.5843 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1441/0.4598, allocations: 150.6 MB / 0.7314 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.4606, allocations: 19.88 kB / 0.7314 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.4611, allocations: 166.5 kB / 0.7316 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4626, allocations: 495.9 kB / 0.732 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.4644, allocations: 0.7957 MB / 0.7328 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.4654, allocations: 1.207 MB / 0.734 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.4661, allocations: 0.6178 MB / 0.7346 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.4666, allocations: 450.3 kB / 0.735 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.467, allocations: 465.9 kB / 0.7355 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4672, allocations: 104 kB / 0.7356 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.4679, allocations: 447.6 kB / 0.736 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.4682, allocations: 275.1 kB / 0.7362 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.4686, allocations: 0.5012 MB / 0.7367 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.4699, allocations: 1.464 MB / 0.7382 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4699, allocations: 4 kB / 0.7382 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4699, allocations: 0 / 0.7382 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4699, allocations: 0 / 0.7382 GB, free: 15.11 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001909/0.4718, allocations: 1.35 MB / 0.7395 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4719, allocations: 8.031 kB / 0.7395 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.472, allocations: 131.3 kB / 0.7396 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.4729, allocations: 179.4 kB / 0.7398 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.4737, allocations: 0.7148 MB / 0.7405 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.4738, allocations: 62 kB / 0.7405 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.4739, allocations: 76 kB / 0.7406 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.4751, allocations: 0.8833 MB / 0.7415 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4752, allocations: 7.938 kB / 0.7415 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.4753, allocations: 36 kB / 0.7415 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.4753, allocations: 20 kB / 0.7415 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.4768, allocations: 1.093 MB / 0.7426 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.4802, allocations: 2.507 MB / 0.7451 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4813, allocations: 0.7336 MB / 0.7458 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.4818, allocations: 290.6 kB / 0.7461 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.4819, allocations: 36.53 kB / 0.7461 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.4826, allocations: 443.3 kB / 0.7465 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.994e-06/0.4827, allocations: 0 / 0.7465 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002762/0.4854, allocations: 1.116 MB / 0.7476 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.4855, allocations: 192.5 kB / 0.7478 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.4861, allocations: 0.5979 MB / 0.7484 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.4862, allocations: 41.69 kB / 0.7484 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.4865, allocations: 384.3 kB / 0.7488 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.4866, allocations: 244.4 kB / 0.749 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4868, allocations: 142.5 kB / 0.7491 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.487, allocations: 390.7 kB / 0.7495 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.4874, allocations: 225.9 kB / 0.7497 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.4879, allocations: 338.2 kB / 0.7501 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.4889, allocations: 0.5589 MB / 0.7506 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4889, allocations: 0 / 0.7506 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001623/0.4905, allocations: 0.7549 MB / 0.7513 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4906, allocations: 8 kB / 0.7513 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4906, allocations: 4.094 kB / 0.7513 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.4911, allocations: 76.78 kB / 0.7514 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.4917, allocations: 159.8 kB / 0.7516 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.4937, allocations: 1.626 MB / 0.7532 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.4942, allocations: 79.28 kB / 0.7532 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.4942, allocations: 31.97 kB / 0.7533 GB, free: 15.09 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 (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.0002967/0.4946, allocations: 255.2 kB / 0.7535 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4947, allocations: 83 kB / 0.7536 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4968, allocations: 1.018 MB / 0.7546 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4969, allocations: 8 kB / 0.7546 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4969, allocations: 0 / 0.7546 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4969, allocations: 19.94 kB / 0.7546 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.4997, allocations: 1.884 MB / 0.7565 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4997, allocations: 3.938 kB / 0.7565 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.5002, allocations: 147.8 kB / 0.7566 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/0.5006, allocations: 72.78 kB / 0.7567 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.5007, allocations: 27.98 kB / 0.7567 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.5024, allocations: 1.658 MB / 0.7583 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5024, allocations: 0 / 0.7583 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.5041, allocations: 0.9336 MB / 0.7592 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.5044, allocations: 255.8 kB / 0.7595 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5045, allocations: 20 kB / 0.7595 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.505, allocations: 54.75 kB / 0.7595 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5052, allocations: 64.91 kB / 0.7596 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.5052, allocations: 31.98 kB / 0.7596 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004556/0.5057, allocations: 447 kB / 0.7601 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5057, allocations: 0 / 0.7601 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006942/0.5064, allocations: 287.2 kB / 0.7603 GB, free: 7.59 MB / 0.5919 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.002986/0.5094, allocations: 1.972 MB / 0.7623 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.5113, allocations: 0.9502 MB / 0.7632 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5114, allocations: 0 / 0.7632 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.5122, allocations: 0.4926 MB / 0.7637 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5132, allocations: 296.3 kB / 0.7639 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/0.5225, allocations: 6.244 MB / 0.77 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.523, allocations: 1 MB / 0.771 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007057/0.5237, allocations: 254.5 kB / 0.7713 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.5242, allocations: 363.3 kB / 0.7716 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.5242, allocations: 4 kB / 0.7716 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.5661, allocations: 20.17 MB / 0.7913 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.77, allocations: 17.66 kB / 0.7913 GB, free: 8.289 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)